Add upx compression to Dockerfile

This commit is contained in:
2023-04-29 18:18:31 +02:00
parent 7dfa0a2e6d
commit c54cf5a456
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,8 @@ WORKDIR /app
COPY . .
RUN apk add make git && make build VERSION=$VERSION
RUN apk add make git upx && make build VERSION=$VERSION \
&& upx --best --lzma whatismyip
# Build final image
FROM scratch