X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tools%2Fdockerfile%2Fdistribtest%2Fcsharp_ubuntu1604_x64%2FDockerfile;h=4755a3bce298840df00eb3b60d20a3534823076c;hb=754713aa17cd9d27a649dd3a8a1657ddb01bca1a;hp=93ee75cfcd443bbc883a4a22a67fa4b08072f5ea;hpb=0c616e3b7b1e7ee8ff7c5d3c0dde8b64c3a160e7;p=platform%2Fupstream%2Fgrpc.git diff --git a/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile b/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile index 93ee75c..4755a3b 100644 --- a/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile +++ b/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile @@ -24,8 +24,23 @@ RUN apt-get update && apt-get install -y \ nuget \ && apt-get clean +RUN apt-get update && apt-get install -y curl && apt-get clean + +# Install dotnet SDK +ENV DOTNET_SDK_VERSION 2.1.500 +RUN curl -sSL -o dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$DOTNET_SDK_VERSION/dotnet-sdk-$DOTNET_SDK_VERSION-linux-x64.tar.gz \ + && mkdir -p /usr/share/dotnet \ + && tar -zxf dotnet.tar.gz -C /usr/share/dotnet \ + && rm dotnet.tar.gz \ + && ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet + RUN apt-get update && apt-get install -y unzip && apt-get clean # Make sure the mono certificate store is up-to-date to prevent issues with nuget restore RUN apt-get update && apt-get install -y curl && apt-get clean RUN curl https://curl.haxx.se/ca/cacert.pem > ~/cacert.pem && cert-sync ~/cacert.pem && rm -f ~/cacert.pem + +# we have a separate distribtest for netcoreapp3.1 +ENV SKIP_NETCOREAPP31_DISTRIBTEST=1 +# we have a separate distribtest for net5.0 +ENV SKIP_NET50_DISTRIBTEST=1