diff --git a/tools/dockerfile/grpc_csharp_mono/Dockerfile b/tools/dockerfile/grpc_csharp_mono/Dockerfile index d0e2d2be7e44f9123d91737491290f498b881076..8f8636656062640c47f79a5a476ba7a63db711fa 100644 --- a/tools/dockerfile/grpc_csharp_mono/Dockerfile +++ b/tools/dockerfile/grpc_csharp_mono/Dockerfile @@ -38,12 +38,8 @@ RUN cd /var/local/git/grpc \ # Install the gRPC C# extension library RUN make install_grpc_csharp_ext -j12 -C /var/local/git/grpc -# TODO: download NuGet from web. The problem is there seems to be no direct link -# we could use :-) -ADD NuGet.exe NuGet.exe - # Restore the NuGet dependencies -RUN cd /var/local/git/grpc/src/csharp && mono /NuGet.exe restore Grpc.sln +RUN cd /var/local/git/grpc/src/csharp && mono /var/local/NuGet.exe restore Grpc.sln # Build gRPC solution RUN cd /var/local/git/grpc/src/csharp && xbuild Grpc.sln diff --git a/tools/dockerfile/grpc_csharp_mono_base/Dockerfile b/tools/dockerfile/grpc_csharp_mono_base/Dockerfile index 74919a7fdb5786a4a27433112c98949cb6f0c8e2..88766a4545a526e40daab1fa17c6b754092134cc 100644 --- a/tools/dockerfile/grpc_csharp_mono_base/Dockerfile +++ b/tools/dockerfile/grpc_csharp_mono_base/Dockerfile @@ -43,6 +43,9 @@ RUN apt-get update && apt-get install -y \ nunit-console \ monodevelop +# Download NuGet +RUN cd /var/local && wget www.nuget.org/NuGet.exe + # Get the source from GitHub RUN git clone git@github.com:grpc/grpc.git /var/local/git/grpc RUN cd /var/local/git/grpc && \