summaryrefslogtreecommitdiff
path: root/build-all-with-docker
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-02 12:54:19 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-02 12:54:19 +0200
commit09de73bde733f8bb9cc5f49a43950b3a9372bcd8 (patch)
treec144bc124c17656ed169cee49d669d6a873842c4 /build-all-with-docker
parent445fef6c184b05150cb435d271d039af816e8e11 (diff)
downloadarchlinuxewe-09de73bde733f8bb9cc5f49a43950b3a9372bcd8.tar.xz
build-all-with-docker: use "parallel" to accellerate creation of docker containers
Diffstat (limited to 'build-all-with-docker')
-rwxr-xr-xbuild-all-with-docker12
1 files changed, 1 insertions, 11 deletions
diff --git a/build-all-with-docker b/build-all-with-docker
index 00a973e15..d012b19a0 100755
--- a/build-all-with-docker
+++ b/build-all-with-docker
@@ -46,17 +46,7 @@ if [ -n "$(git status --porcelain)" ]; then
fi
ids=$(
- for pkg in */PKGBUILD; do
- cd "${pkg%/PKGBUILD}"
- ../addPkgbuildPatch add
- {
- printf '%s-build:latest\n' arch artix
- printf 'arch32-%s-build\n' i486 i686 pentium4
- } \
- | shuf \
- | xargs -rn1 docker run --rm -d -v .:/build
- cd ..
- done \
+ parallel "$0" ::: */PKGBUILD \
| tee /dev/stderr
)