Image using for generating apk images.
1.1K
APKBUILD file is located uponmkdir ./source_folder
# Create APKBUILD
touch ./source_folder/APKBUILD
Then optionally, if building from local source code, create a tarball containing the source code.
The generated tarball should be in ./source_folder as well.
mkdir ./release
mkdit ./volume_dir
docker run \
-v source_folder:/usr/src/apkbuild \
-v ./volume_dir/.abuild:/home/packager/.abuild \
-v ./volume_dir/keys:/etc/apk/keys \
-v ./release:/home/packager/release \
pcmagas/alpinebuild
bash .github/build_docker.sh
| Directory | Reason |
|---|---|
| /home/packager/.abuild | Abuild config anf private signing key storage |
| /etc/apk/keys/ | Signing Public key storage |
| /usr/src/apkbuild | Location where source code .tar.gz file and APKBUILD files are located |
| /home/packager/release | The location where built apk files are placed upon |
By default pcmagas/alpinebuild generates its own keys used for signing the built apk. The public singing key is stored upon /etc/apk/keys/ whneread the private key is stored upon /home/packager/.abuild.
Content type
Image
Digest
sha256:1625a1a25…
Size
167.3 MB
Last updated
about 1 year ago
docker pull pcmagas/alpinebuild