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
4705a5a0
Commit
4705a5a0
authored
10 years ago
by
Qi Zhao
Browse files
Options
Downloads
Patches
Plain Diff
Revert "dockerfiles/go: go install from GOPATH and remove bash from CMD"
parent
fa054b37
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/dockerfile/grpc_go/Dockerfile
+3
-3
3 additions, 3 deletions
tools/dockerfile/grpc_go/Dockerfile
with
3 additions
and
3 deletions
tools/dockerfile/grpc_go/Dockerfile
+
3
−
3
View file @
4705a5a0
...
...
@@ -37,8 +37,8 @@ RUN go get google.golang.org/grpc
ADD
service_account service_account
# Build the interop client and server
RUN
go
install
google.golang.org/grpc/interop/client
RUN
go
install
google.golang.org/grpc/interop/server
RUN
cd
src/
google.golang.org/grpc/interop/client
&&
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
CMD
["
server", "
--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"]
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