This commit is contained in:
parent
b9d23b1e2c
commit
2476e2484e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user