727 B
727 B
Build Archlinux packages in rootless podman container
Why
sudo
is run inside container (required for makepkg). Does not affect host system- Does not install unnecessary make dependencies in host system
- Build runs in clean environment.
Usage
- Remove/Replace mirror url. I run pacoloco locally at archmirror.i.balki.me
- Change PACKAGER setting to your name/email
- Add AUR dependencies in a folder
deps/
(if any)
Command to build
cd ~/projects/mine/aur_builder/
podman build -t gitea.balki.me/balki/aur_builder:exp .
Command to run
cd /home/balki/gotosocial_aur/
podman run --rm -v $PWD:/w -it gitea.balki.me/balki/aur_builder:exp
Y