aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile')
-rw-r--r--tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile b/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile
index 597d7e4a79..05fa32b986 100644
--- a/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile
+++ b/tools/dockerfile/distribtest/csharp_ubuntu1604_x64/Dockerfile
@@ -34,6 +34,9 @@ RUN apt-get update && apt-get install -y \
ca-certificates-mono \
nuget
-RUN nuget update -self
+# make sure we have nuget 2.12+ (in case there's an older cached docker image)
+RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
+RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list
+RUN apt-get update && apt-get install -y nuget
RUN apt-get update && apt-get install -y unzip