Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Go Httpbin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Nix
Go Httpbin
Commits
83b4a61d
Commit
83b4a61d
authored
5 years ago
by
Will McCutchen
Browse files
Options
Downloads
Patches
Plain Diff
docker: add test binary to final image
parent
c84b5401
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
with
2 additions
and
2 deletions
Dockerfile
+
2
−
2
View file @
83b4a61d
...
@@ -6,9 +6,9 @@ COPY Makefile .
...
@@ -6,9 +6,9 @@ COPY Makefile .
RUN
make deps
RUN
make deps
COPY
. .
COPY
. .
RUN
make
RUN
make
build buildtests
FROM
gcr.io/distroless/base
FROM
gcr.io/distroless/base
COPY
--from=0 /go/src/github.com/mccutchen/go-httpbin/dist/go-httpbin /bin/
go-httpbin
COPY
--from=0 /go/src/github.com/mccutchen/go-httpbin/dist/go-httpbin
*
/bin/
EXPOSE
8080
EXPOSE
8080
CMD
["/bin/go-httpbin"]
CMD
["/bin/go-httpbin"]
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