UPX scratch container image with multi plateform support
2.3K
UPX container image with multi plateform support
supported plateforms
docker run --rm -it -v $(pwd):/app/ pratikimprowise/upx app
or within dockerfile
Simply
FROM ubuntu
COPY --from=pratikimprowise/upx / /
RUN upx -9 xxx
Using buildx
FROM --platform=$BUILDPLATFORM pratikimprowise/upx AS upx
FROM --platform=$BUILDPLATFORM ubuntu
COPY --from=upx / /
RUN upx -9 xxx
NOTE: xz utils was not available for all architecture so created pratikbalar/tarrer dumb utility in golang that can extract
br,bz2,zip,gz,lz4,sz,xz,zstdarchives.thanks to mholt/archiver
May the Source Be With You
Content type
Image
Digest
Size
417.3 kB
Last updated
over 4 years ago
docker pull pratikimprowise/upx