Removed UPX to ensure ARM build in next feature
This commit is contained in:
parent
5023159f8a
commit
8ae5fc244d
1 changed files with 1 additions and 5 deletions
|
@ -8,11 +8,7 @@ COPY . .
|
||||||
RUN go get -d -v ./...
|
RUN go get -d -v ./...
|
||||||
RUN chmod +x build-ci.sh && ./build-ci.sh
|
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
|
FROM scratch as production
|
||||||
WORKDIR /goshorly
|
WORKDIR /goshorly
|
||||||
copy --from=upx /app /goshorly/app
|
COPY --from=upx /go/src/git.ucode.space/goshorly/app /goshorly/app
|
||||||
CMD ["./app"]
|
CMD ["./app"]
|
Loading…
Reference in a new issue