Sign inSign up

volf52/upx-minimal

By volf52

Updated almost 4 years ago
Archived

UPX binary available at /bin/upx

Image
0

223

volf52/upx-minimal repository overview

Minimal Image for UPX

Use it to compress binaries easily.

Usage

docker run --rm -w $PWD -v $PWD:$PWD volf52/upx-minimal:1.0 --best --lzma -o app.out ./app

Or in a docker image (multistage build)

# ... other build steps

FROM volf52/upx-minimal:1.0 as upx-src
FROM alpine:latest as compresser

COPY --from=upx-src /bin/upx .
COPY --from=build-step /app .

RUN ./upx --best --lzma -o app.out app

# Use the binary in other stages
FROM base as prod

COPY --from=compresser /app.out ./app

Tag summary

Content type

Image

Digest

sha256:937dc3af1

Size

514.1 kB

Last updated

almost 4 years ago

docker pull volf52/upx-minimal