From 09de73bde733f8bb9cc5f49a43950b3a9372bcd8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 2 Aug 2024 12:54:19 +0200 Subject: build-all-with-docker: use "parallel" to accellerate creation of docker containers --- build-all-with-docker | 12 +----------- 1 file changed, 1 insertion(+), 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 ) -- cgit v1.2.3-70-g09d2