mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2025-07-01 19:49:27 +00:00
Add upx compression to Dockerfile
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user