Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Linux distro and static packaging for buildx

License

Notifications You must be signed in to change notification settings

docker-archive/buildx-packaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This project and repository is now deprecated and is no longer under active development. Please use docker/packaging instead.

Buildx packaging

About

This repository creates packages (apk, deb, rpm, static) for buildx that are pushed on dockereng/buildx-pkg Docker Hub repository.

Usage

# create packages for the current platform
$ docker buildx bake pkg

# create packages for all supported platforms defined in the HCL definition
$ docker buildx bake pkg-cross

# create debian package for debian11 release and against the current platform
$ PKG_TYPES=deb PKG_DEB_RELEASES=debian11 docker buildx bake pkg

# create packages for windows/amd64 platform and output to ./bin folder
$ docker buildx bake --set *.platform=windows/amd64 --set *.output=./bin pkg

# create packages for all supported platforms and push to dockereng/buildx-pkg:v0.8.1
$ docker buildx bake --set *.output=type=image,push=true --set *.tags=dockereng/buildx-pkg:v0.8.1 pkg-cross

Extract packages

You can use a tool like Undock to extract all packages:

$ undock --wrap --rm-dist --all dockereng/buildx-pkg:v0.8.1 ./bin
tree ./bin
./bin
├── darwin
│   ├── amd64
│   │   └── docker-buildx-plugin_0.8.1.tgz
│   └── arm64
│       └── docker-buildx-plugin_0.8.1.tgz
├── linux
│   ├── amd64
│   │   ├── docker-buildx-plugin-0.8.1-centos7.x86_64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-centos8.x86_64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora33.x86_64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora34.x86_64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora35.x86_64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora36.x86_64.rpm
│   │   ├── docker-buildx-plugin_0.8.1-debian10_amd64.deb
│   │   ├── docker-buildx-plugin_0.8.1-debian11_amd64.deb
│   │   ├── docker-buildx-plugin_0.8.1-r0_x86_64.apk
│   │   ├── docker-buildx-plugin_0.8.1-raspbian10_amd64.deb
│   │   ├── docker-buildx-plugin_0.8.1-raspbian11_amd64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu1804_amd64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2004_amd64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2110_amd64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2204_amd64.deb
│   │   └── docker-buildx-plugin_0.8.1.tgz
│   ├── arm
│   │   ├── v6
│   │   │   ├── docker-buildx-plugin-0.8.1-centos7.armv6hl.rpm
│   │   │   ├── docker-buildx-plugin-0.8.1-centos8.armv6hl.rpm
│   │   │   ├── docker-buildx-plugin-0.8.1-fedora33.armv6hl.rpm
│   │   │   ├── docker-buildx-plugin-0.8.1-fedora34.armv6hl.rpm
│   │   │   ├── docker-buildx-plugin-0.8.1-fedora35.armv6hl.rpm
│   │   │   ├── docker-buildx-plugin-0.8.1-fedora36.armv6hl.rpm
│   │   │   ├── docker-buildx-plugin_0.8.1-debian10_armel.deb
│   │   │   ├── docker-buildx-plugin_0.8.1-debian11_armel.deb
│   │   │   ├── docker-buildx-plugin_0.8.1-r0_armhf.apk
│   │   │   ├── docker-buildx-plugin_0.8.1-raspbian10_armel.deb
│   │   │   ├── docker-buildx-plugin_0.8.1-raspbian11_armel.deb
│   │   │   ├── docker-buildx-plugin_0.8.1-ubuntu1804_armel.deb
│   │   │   ├── docker-buildx-plugin_0.8.1-ubuntu2004_armel.deb
│   │   │   ├── docker-buildx-plugin_0.8.1-ubuntu2110_armel.deb
│   │   │   ├── docker-buildx-plugin_0.8.1-ubuntu2204_armel.deb
│   │   │   └── docker-buildx-plugin_0.8.1.tgz
│   │   └── v7
│   │       ├── docker-buildx-plugin-0.8.1-centos7.armv7hl.rpm
│   │       ├── docker-buildx-plugin-0.8.1-centos8.armv7hl.rpm
│   │       ├── docker-buildx-plugin-0.8.1-fedora33.armv7hl.rpm
│   │       ├── docker-buildx-plugin-0.8.1-fedora34.armv7hl.rpm
│   │       ├── docker-buildx-plugin-0.8.1-fedora35.armv7hl.rpm
│   │       ├── docker-buildx-plugin-0.8.1-fedora36.armv7hl.rpm
│   │       ├── docker-buildx-plugin_0.8.1-debian10_armhf.deb
│   │       ├── docker-buildx-plugin_0.8.1-debian11_armhf.deb
│   │       ├── docker-buildx-plugin_0.8.1-r0_armv7.apk
│   │       ├── docker-buildx-plugin_0.8.1-raspbian10_armhf.deb
│   │       ├── docker-buildx-plugin_0.8.1-raspbian11_armhf.deb
│   │       ├── docker-buildx-plugin_0.8.1-ubuntu1804_armhf.deb
│   │       ├── docker-buildx-plugin_0.8.1-ubuntu2004_armhf.deb
│   │       ├── docker-buildx-plugin_0.8.1-ubuntu2110_armhf.deb
│   │       ├── docker-buildx-plugin_0.8.1-ubuntu2204_armhf.deb
│   │       └── docker-buildx-plugin_0.8.1.tgz
│   ├── arm64
│   │   ├── docker-buildx-plugin-0.8.1-centos7.aarch64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-centos8.aarch64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora33.aarch64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora34.aarch64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora35.aarch64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora36.aarch64.rpm
│   │   ├── docker-buildx-plugin_0.8.1-debian10_arm64.deb
│   │   ├── docker-buildx-plugin_0.8.1-debian11_arm64.deb
│   │   ├── docker-buildx-plugin_0.8.1-r0_aarch64.apk
│   │   ├── docker-buildx-plugin_0.8.1-raspbian10_arm64.deb
│   │   ├── docker-buildx-plugin_0.8.1-raspbian11_arm64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu1804_arm64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2004_arm64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2110_arm64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2204_arm64.deb
│   │   └── docker-buildx-plugin_0.8.1.tgz
│   ├── ppc64le
│   │   ├── docker-buildx-plugin-0.8.1-centos7.ppc64le.rpm
│   │   ├── docker-buildx-plugin-0.8.1-centos8.ppc64le.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora33.ppc64le.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora34.ppc64le.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora35.ppc64le.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora36.ppc64le.rpm
│   │   ├── docker-buildx-plugin_0.8.1-debian10_ppc64el.deb
│   │   ├── docker-buildx-plugin_0.8.1-debian11_ppc64el.deb
│   │   ├── docker-buildx-plugin_0.8.1-r0_ppc64le.apk
│   │   ├── docker-buildx-plugin_0.8.1-raspbian10_ppc64el.deb
│   │   ├── docker-buildx-plugin_0.8.1-raspbian11_ppc64el.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu1804_ppc64el.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2004_ppc64el.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2110_ppc64el.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2204_ppc64el.deb
│   │   └── docker-buildx-plugin_0.8.1.tgz
│   ├── riscv64
│   │   ├── docker-buildx-plugin-0.8.1-centos7.riscv64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-centos8.riscv64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora33.riscv64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora34.riscv64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora35.riscv64.rpm
│   │   ├── docker-buildx-plugin-0.8.1-fedora36.riscv64.rpm
│   │   ├── docker-buildx-plugin_0.8.1-debian10_riscv64.deb
│   │   ├── docker-buildx-plugin_0.8.1-debian11_riscv64.deb
│   │   ├── docker-buildx-plugin_0.8.1-r0_riscv64.apk
│   │   ├── docker-buildx-plugin_0.8.1-raspbian10_riscv64.deb
│   │   ├── docker-buildx-plugin_0.8.1-raspbian11_riscv64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu1804_riscv64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2004_riscv64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2110_riscv64.deb
│   │   ├── docker-buildx-plugin_0.8.1-ubuntu2204_riscv64.deb
│   │   └── docker-buildx-plugin_0.8.1.tgz
│   └── s390x
│       ├── docker-buildx-plugin-0.8.1-centos7.s390x.rpm
│       ├── docker-buildx-plugin-0.8.1-centos8.s390x.rpm
│       ├── docker-buildx-plugin-0.8.1-fedora33.s390x.rpm
│       ├── docker-buildx-plugin-0.8.1-fedora34.s390x.rpm
│       ├── docker-buildx-plugin-0.8.1-fedora35.s390x.rpm
│       ├── docker-buildx-plugin-0.8.1-fedora36.s390x.rpm
│       ├── docker-buildx-plugin_0.8.1-debian10_s390x.deb
│       ├── docker-buildx-plugin_0.8.1-debian11_s390x.deb
│       ├── docker-buildx-plugin_0.8.1-r0_s390x.apk
│       ├── docker-buildx-plugin_0.8.1-raspbian10_s390x.deb
│       ├── docker-buildx-plugin_0.8.1-raspbian11_s390x.deb
│       ├── docker-buildx-plugin_0.8.1-ubuntu1804_s390x.deb
│       ├── docker-buildx-plugin_0.8.1-ubuntu2004_s390x.deb
│       ├── docker-buildx-plugin_0.8.1-ubuntu2110_s390x.deb
│       ├── docker-buildx-plugin_0.8.1-ubuntu2204_s390x.deb
│       └── docker-buildx-plugin_0.8.1.tgz
└── windows
    ├── amd64
    │   └── docker-buildx-plugin_0.8.1.zip
    └── arm64
        └── docker-buildx-plugin_0.8.1.zip

15 directories, 116 files

Contributing

Want to contribute? Awesome! You can find information about contributing to this project in the CONTRIBUTING.md