Sign inSign up

boggart/alpine-abuild-32bit

By boggart

•Updated over 11 years ago

broken

Image
1

898

boggart/alpine-abuild-32bit repository overview

⁠Alpine Package Builder

This is a Docker image for building 32bit Alpine Linux packages.

⁠Usage

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.

⁠Environment

There are a number of environment variables you can change at package build time:

  • PACKAGER_PRIVKEY: defaults to /package/abuild.rsa
  • REPODEST: defaults to /packages
  • PACKAGER: defaults to Glider Labs <[email protected]>

⁠Example

Check out https://github.com/andyshinn/alpine-pkg-hub⁠ for an example of this process.

Tag summary

Content type

Image

Digest

sha256:91fb3fbb2…

Size

-

Last updated

over 11 years ago

docker pull boggart/alpine-abuild-32bit