From 8ae5fc244df8e4e2b34cc5456715c317fc2fd89c Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 5 Jan 2022 23:34:07 +0100 Subject: [PATCH] Removed UPX to ensure ARM build in next feature --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4af69a9..ae86dfe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,7 @@ COPY . . RUN go get -d -v ./... RUN chmod +x build-ci.sh && ./build-ci.sh -FROM gruebel/upx:latest as upx -COPY --from=builder /go/src/git.ucode.space/goshorly/app /app.org -RUN upx --best --lzma -o /app /app.org - FROM scratch as production WORKDIR /goshorly -copy --from=upx /app /goshorly/app +COPY --from=upx /go/src/git.ucode.space/goshorly/app /goshorly/app CMD ["./app"] \ No newline at end of file