aboutsummaryrefslogtreecommitdiffhomepage
path: root/jenkins
diff options
context:
space:
mode:
authorGravatar Jon Skeet <skeet@pobox.com>2016-07-14 22:01:47 +0100
committerGravatar GitHub <noreply@github.com>2016-07-14 22:01:47 +0100
commit10a8fb4e73b3dada58123aeabc393288ac791dc8 (patch)
tree54b058cfaff68b49a20aa8dfaec297faaddda109 /jenkins
parent042993b3dd8c52f979870c91ea7fcbcf0dcf94a0 (diff)
Move to dotnet cli for building, and .NET Core (netstandard1.0) as target platform (#1727)
Move to dotnet cli for building, and .NET Core (netstandard1.0) as target platform This also updates the version number to 3.0.0-beta4
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/docker/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/jenkins/docker/Dockerfile b/jenkins/docker/Dockerfile
index 8467aeff..c928ac71 100644
--- a/jenkins/docker/Dockerfile
+++ b/jenkins/docker/Dockerfile
@@ -23,6 +23,13 @@ run echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /e
echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
+# Install dotnet SDK based on https://www.microsoft.com/net/core#debian
+# (Ubuntu instructions need apt to support https)
+RUN apt-get update && apt-get install -y curl libunwind8 gettext && \
+ curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?LinkID=809130 && \
+ mkdir -p /opt/dotnet && tar zxf dotnet.tar.gz -C /opt/dotnet && \
+ ln -s /opt/dotnet/dotnet /usr/local/bin
+
# Install dependencies. We start with the basic ones require to build protoc
# and the C++ build
RUN apt-get update && apt-get install -y \