Skip to content

Commit

Permalink
Merge pull request grpc#934 from jtattermusch/csharp_docker
Browse files Browse the repository at this point in the history
Polishing C# Dockerfiles
  • Loading branch information
murgatroid99 committed Mar 3, 2015
2 parents eb82c4e + 0a1d090 commit df2186f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 1 addition & 5 deletions tools/dockerfile/grpc_csharp_mono/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions tools/dockerfile/grpc_csharp_mono_base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit df2186f

Please sign in to comment.