Skip to content
Snippets Groups Projects
Commit 83b4a61d authored by Will McCutchen's avatar Will McCutchen
Browse files

docker: add test binary to final image

parent c84b5401
Branches
Tags
No related merge requests found
...@@ -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"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment