aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile
diff options
context:
space:
mode:
authorGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-03-02 09:44:44 -0800
committerGravatar Tim Emiola <tbetbetbe@users.noreply.github.com>2015-03-02 09:44:44 -0800
commitd4a2171f52a78c61e8d987f0fda8918846ade5a6 (patch)
treeb2fa786a89cc7ef103d7ca5ef2a6e5693fb7f7d2 /tools/dockerfile
parent7a89026886e9da28194ecdff840040980634ef99 (diff)
parent0e46e349ab0c9f0485698c2b51f856aa7ef7a4a7 (diff)
Merge pull request #892 from proppy/docker-go
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 06bb3e2d5e..ada2208097 100644
--- a/tools/dockerfile/grpc_go/Dockerfile
+++ b/tools/dockerfile/grpc_go/Dockerfile
@@ -37,8 +37,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"]