Skip to content
Snippets Groups Projects
Commit 0e46e349 authored by Johan Euphrosine's avatar Johan Euphrosine
Browse files

dockerfiles/go: go install from GOPATH and remove bash from CMD

parent 41d52468
No related branches found
No related tags found
No related merge requests found
...@@ -52,8 +52,8 @@ RUN go get google.golang.org/grpc ...@@ -52,8 +52,8 @@ RUN go get google.golang.org/grpc
ADD service_account service_account ADD service_account service_account
# Build the interop client and server # Build the interop client and server
RUN cd src/google.golang.org/grpc/interop/client && go install RUN go install google.golang.org/grpc/interop/client
RUN cd src/google.golang.org/grpc/interop/server && go install RUN go install google.golang.org/grpc/interop/server
# Specify the default command such that the interop server runs on its known testing port # Specify the default command such that the interop server runs on its known testing port
CMD ["/bin/bash", "-c", "cd src/google.golang.org/grpc/interop/server && go run server.go --use_tls=true --port=8020"] CMD ["server", "--use_tls=true", "--port=8020"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment