Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
1829e4cf
Commit
1829e4cf
authored
10 years ago
by
Donna Dionne
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/dockerfile/grpc_go/Dockerfile
+4
-4
4 additions, 4 deletions
tools/dockerfile/grpc_go/Dockerfile
tools/dockerfile/grpc_java_base/Dockerfile
+1
-0
1 addition, 0 deletions
tools/dockerfile/grpc_java_base/Dockerfile
with
5 additions
and
4 deletions
tools/dockerfile/grpc_go/Dockerfile
+
4
−
4
View file @
1829e4cf
...
@@ -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 g
ithub.com/google/grpc-go/
rpc
RUN
go get g
oogle.golang.org/g
rpc
# Build the interop client and server
# Build the interop client and server
RUN
cd
src/g
ithub.com/google/grpc-go/
rpc/interop/client
&&
go
install
RUN
cd
src/g
oogle.golang.org/g
rpc/interop/client
&&
go
install
RUN
cd
src/g
ithub.com/google/grpc-go/
rpc/interop/server
&&
go
install
RUN
cd
src/g
oogle.golang.org/g
rpc/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/g
ithub.com/google/grpc-go/
rpc/interop/server && go run server.go --use_tls=true --port=8020"]
CMD
["/bin/bash", "-c", "cd src/g
oogle.golang.org/g
rpc/interop/server && go run server.go --use_tls=true --port=8020"]
This diff is collapsed.
Click to expand it.
tools/dockerfile/grpc_java_base/Dockerfile
+
1
−
0
View file @
1829e4cf
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment