Merge branch 'bug/upx-arm' into 'main'
Removed UPX to ensure ARM build in next feature Closes #7 See merge request Phil/goshorly!6
This commit is contained in:
commit
d54d7245bd
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=builder /go/src/git.ucode.space/goshorly/app /goshorly/app
|
||||||
CMD ["./app"]
|
CMD ["./app"]
|
Loading…
Reference in a new issue