From b9d23b1e2c36696a85a06de991d2c893679bb191 Mon Sep 17 00:00:00 2001 From: sneak Date: Wed, 5 Feb 2020 08:48:53 +0000 Subject: [PATCH 1/2] Update 'Dockerfile' --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a394e97..a5b6565 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 From 2476e2484e3d25edfbcbb2a4ccc08bd8a92627dd Mon Sep 17 00:00:00 2001 From: sneak Date: Wed, 5 Feb 2020 09:04:32 +0000 Subject: [PATCH 2/2] Update 'Dockerfile' --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5b6565..2370467 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY . . RUN make build 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 # 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.tbz2 /usr/local/src/go-src.tbz2 +COPY --from=builder /go/go-src.tgz /usr/local/src/go-src.tgz CMD /bin/feta