Build packages inside clean docker environment with makepkg.
docker run \
--rm \
-v $(pwd)/package:/pkg \
-e DEP_PKGS="<space-separated list of dependencies>" \
archimg/archlinux-pkgbuilder
- Add
-e MIRROR_URL='<mirror url>'
with your individual mirror, which fits best. - Add
-e DEP_PKGS='<space-separated list of dependencies>'
- Passing options do makepkg can be done easily by appending options to the
docker run
call at the end. E.g:docker run [......] archimg/archlinux-pkgbuilder --geninteg
- Support for additional pacman-repositories
- Automatic installation of dependencies without the need for
DEP_PKGS
- support for individual
makepkg.conf