Skip to content
Snippets Groups Projects
Commit 1829e4cf authored by Donna Dionne's avatar Donna Dionne
Browse files

Fixing go docker file to use the correct golang path

Fixing java_base to edit permission on a key file
parent bf181982
No related branches found
No related tags found
No related merge requests found
...@@ -17,11 +17,11 @@ RUN echo 'StrictHostKeyChecking no' >> $HOME/.ssh/config ...@@ -17,11 +17,11 @@ RUN echo 'StrictHostKeyChecking no' >> $HOME/.ssh/config
RUN git config --global url."git@github.com:".insteadOf "https://github.com/" RUN git config --global url."git@github.com:".insteadOf "https://github.com/"
# Get the source from GitHub # Get the source from GitHub
RUN go get github.com/google/grpc-go/rpc RUN go get google.golang.org/grpc
# Build the interop client and server # Build the interop client and server
RUN cd src/github.com/google/grpc-go/rpc/interop/client && go install RUN cd src/google.golang.org/grpc/interop/client && go install
RUN cd src/github.com/google/grpc-go/rpc/interop/server && go install RUN cd src/google.golang.org/grpc/interop/server && go install
# 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/github.com/google/grpc-go/rpc/interop/server && go run server.go --use_tls=true --port=8020"] CMD ["/bin/bash", "-c", "cd src/google.golang.org/grpc/interop/server && go run server.go --use_tls=true --port=8020"]
...@@ -34,6 +34,7 @@ RUN wget -O - https://github.com/google/protobuf/archive/master.tar.gz | \ ...@@ -34,6 +34,7 @@ RUN wget -O - https://github.com/google/protobuf/archive/master.tar.gz | \
# Install a GitHub SSH service credential that gives access to the GitHub repo while it's private # Install a GitHub SSH service credential that gives access to the GitHub repo while it's private
# TODO: remove this once the repo is public # TODO: remove this once the repo is public
COPY .ssh/github.rsa /root/.ssh/id_rsa COPY .ssh/github.rsa /root/.ssh/id_rsa
RUN chmod 600 /root/.ssh/id_rsa
RUN echo 'Host github.com\nStrictHostKeyChecking no' > /root/.ssh/config RUN echo 'Host github.com\nStrictHostKeyChecking no' > /root/.ssh/config
# Trigger download of as many Maven and Gradle artifacts as possible. We don't build grpc-java # Trigger download of as many Maven and Gradle artifacts as possible. We don't build grpc-java
......
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