aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile
diff options
context:
space:
mode:
authorGravatar Johan Euphrosine <proppy@google.com>2015-02-27 21:32:47 -0800
committerGravatar Johan Euphrosine <proppy@google.com>2015-02-27 21:32:47 -0800
commit0e46e349ab0c9f0485698c2b51f856aa7ef7a4a7 (patch)
tree2021232adebf49d632a9c9ac3abcaa4cfcc7cecd /tools/dockerfile
parent41d524682d7e6b0a25f0f969c3af82fedd8fe86a (diff)
dockerfiles/go: go install from GOPATH and remove bash from CMD
Diffstat (limited to 'tools/dockerfile')
-rw-r--r--tools/dockerfile/grpc_go/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dockerfile/grpc_go/Dockerfile b/tools/dockerfile/grpc_go/Dockerfile
index e1671eaee1..4ee985ccef 100644
--- a/tools/dockerfile/grpc_go/Dockerfile
+++ b/tools/dockerfile/grpc_go/Dockerfile
@@ -52,8 +52,8 @@ RUN go get google.golang.org/grpc
ADD service_account service_account
# Build the interop client and server
-RUN cd src/google.golang.org/grpc/interop/client && go install
-RUN cd src/google.golang.org/grpc/interop/server && go install
+RUN go install google.golang.org/grpc/interop/client
+RUN go install google.golang.org/grpc/interop/server
# 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"]