This commit is contained in:
parent
4f654a9423
commit
b9d23b1e2c
@ -7,7 +7,7 @@ COPY . .
|
||||
RUN make build
|
||||
|
||||
WORKDIR /go
|
||||
RUN tar cvfz go-src.tgz src && du -sh *
|
||||
RUN tar cfj go-src.tbz2 src && du -sh *
|
||||
|
||||
# this container doesn't do anything except hold the build artifact
|
||||
# and make sure it compiles.
|
||||
@ -17,7 +17,7 @@ FROM alpine
|
||||
COPY --from=builder /go/src/git.eeqj.de/sneak/feta/feta /bin/feta
|
||||
|
||||
# put the source in there too for safekeeping
|
||||
COPY --from=builder /go/go-src.tgz /usr/local/src/go-src.tgz
|
||||
COPY --from=builder /go/go-src.tbz2 /usr/local/src/go-src.tbz2
|
||||
|
||||
CMD /bin/feta
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user