mirror of https://github.com/mpolden/echoip
won't run with just scratch - needs base image.
Thanks for a nice project
This commit is contained in:
parent
99f9556173
commit
1b7b5cfd6c
|
@ -6,7 +6,7 @@ ENV GO111MODULE=on
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
FROM scratch
|
FROM golang:1.12-stretch
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
COPY --from=build \
|
COPY --from=build \
|
||||||
/go/bin/echoip \
|
/go/bin/echoip \
|
||||||
|
|
Loading…
Reference in New Issue