VERSION ?= 3.14 RELEASE := v1.21 .PHONY: builder aports_update packages: mkdir -p packages distfiles: mkdir -p distfiles aports: git clone git://dev.alpinelinux.org/aports --depths=1 aports_update: aports GIT_DIR=aports/.git git fetch origin -p GIT_DIR=aports/.git git pull origin master # Mounts release into /work of the builder container to build all build: packages distfiles podman run -ti \ -v ${PWD}/distfiles:/var/cache/distfiles \ -v ${PWD}/packages:/home/alpine/packages \ -v ${HOME}/.gitconfig/:/home/alpine/.gitconfig \ -v ${HOME}/.abuild/:/home/alpine/.abuild \ -v ${PWD}/$(RELEASE)/:/home/alpine/work \ alpine-builder:${VERSION} upload: aws s3 cp -r