Build container to build Alpine apk packages
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
289 B

#!/bin/sh
set -e
if [ -d ~/.abuild ]; then
sudo cp ~/.abuild/*.rsa.pub /etc/apk/keys/
fi
sudo chown -R alpine:abuild ~/packages /var/cache/distfiles ~/work ~/.abuild
if [ "$1" == 'sh' ]; then
sh
else
for pkg in *; do
cd $pkg && abuild checksum && abuild -r && cd -
done
fi