Skip to content

pratikbin/docker-upx-multiarch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-upx-multiarch

UPX container image with multi plateform support

supported plateforms

  • linux/amd64
  • linux/arm64
  • linux/arm/v6
  • linux/arm/v7
  • linux/386
  • linux/mips64le
  • linux/mips64
  • linux/ppc64le

Usage

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

Projects that are using this

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, zstd archives.

thanks to mholt/archiver


May the Source Be With You

About

UPX container image with multi plateform support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published