Image Overview: melange

Overview: melange Chainguard Image

Container image for running melange workflows to build APK packages.

Download this Image

The image is available on

docker pull

To build the melange workflow in examples:

docker run --privileged -v "$PWD":/work build /work/tests/minimal.yaml

Output will be in the packages directory.

To build the melange package for the host architecture:

docker run --privileged -v "$PWD":/work build --empty-workspace --arch $(uname -m) /work/tests/minimal.yaml

To get a shell, you can use the -dev variant, and change the entrypoint:

docker run --privileged -v "$PWD":/work -it --entrypoint /bin/sh

/ # melange version

Note that melange uses bubblewrap internally, which requires various Linux capabilities, hence the use of --privileged. Because of this requirement, we recommend this image is used only for local development and testing.

Last updated: 2024-04-11 12:38