This is a Docker image for building 32bit Alpine Linux packages.
In your Alpine Linux package source folder (the folder with your APKBUILD) create a Dockerfile. You need to specify the FROM image and PACKAGER_PRIVKEY environment variable. This is the location of your private key file. The ONBUILD triggers will copy *.rsa to /package and *.rsa.pub to /etc/apk/keys.
Here is an example Dockerfile:
FROM boggart/alpine-abuild-32bit
ENV PACKAGER_PRIVKEY /package/[email protected]
Then build your Docker image for the package with docker build -t package . and run it with docker run --name package package to build the Alpine Linux package. You can copy the apk file out of the container after it is build with docker cp package:/packages ..
You will have a packages folder locally with your built Alpine Linux packages.
There are a number of environment variables you can change at package build time:
PACKAGER_PRIVKEY: defaults to /package/abuild.rsaREPODEST: defaults to /packagesPACKAGER: defaults to Glider Labs <[email protected]>Check out https://github.com/andyshinn/alpine-pkg-hub for an example of this process.
Content type
Image
Digest
sha256:91fb3fbb2…
Size
-
Last updated
over 11 years ago
docker pull boggart/alpine-abuild-32bit