diff options
-rw-r--r-- | Dockerfile | 6 | ||||
-rw-r--r-- | Readme.md | 15 | ||||
-rwxr-xr-x | build.sh | 1 |
3 files changed, 21 insertions, 1 deletions
@@ -1,11 +1,15 @@ FROM archlinux:base-devel +RUN pacman --noconfirm -Syu ARG AUR_RPC_BASE_URL="https://aur.archlinux.org/rpc/v5" ARG PACKAGE_NAME="" ARG BUILD_ALL_AUR_DEPENDS="no" -COPY --chown=root:root buildpackage.sh /buildpackage.sh RUN mkdir /pkgout VOLUME /pkgout +RUN pacman --noconfirm -S python python-requests + +COPY --chown=root:root buildpackage.sh /buildpackage.sh + CMD /buildpackage.s $PACKAGE_URL diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..ba90042 --- /dev/null +++ b/Readme.md @@ -0,0 +1,15 @@ +# AUR PKG Builder + +Docker base AUR Package builder for local arch repo + +## Workflow + +Provided: Package name + +* search AUR for package (exact match only!) +* build dependency tree (also search with provided, then there is no exact match) +* prioritize packages in official repos. Don't build them. +* Add all AUR-PKGs in tree to to-build-list +* MAKEPKG ur way thourhg + + @@ -1,3 +1,4 @@ #!/bin/bash +docker pull archlinux:base-devel docker build -t archpkg . |