Update 'Dockerfile'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jeffrey Paul 2020-02-05 09:04:32 +00:00
parent b9d23b1e2c
commit 2476e2484e

View File

@ -7,7 +7,7 @@ COPY . .
RUN make build RUN make build
WORKDIR /go WORKDIR /go
RUN tar cfj go-src.tbz2 src && du -sh * RUN tar cfz go-src.tgz src && du -sh *
# this container doesn't do anything except hold the build artifact # this container doesn't do anything except hold the build artifact
# and make sure it compiles. # and make sure it compiles.
@ -17,7 +17,7 @@ FROM alpine
COPY --from=builder /go/src/git.eeqj.de/sneak/feta/feta /bin/feta COPY --from=builder /go/src/git.eeqj.de/sneak/feta/feta /bin/feta
# put the source in there too for safekeeping # put the source in there too for safekeeping
COPY --from=builder /go/go-src.tbz2 /usr/local/src/go-src.tbz2 COPY --from=builder /go/go-src.tgz /usr/local/src/go-src.tgz
CMD /bin/feta CMD /bin/feta