summaryrefslogtreecommitdiff
path: root/build-all-with-docker
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-29 20:33:55 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-29 20:33:55 +0200
commit706e164f5f01788cee03bbe99d52242cbfe24ba4 (patch)
tree9a52092ebf8fa171b6338559536ce1aac38412eb /build-all-with-docker
parentc7906aa4312e2a035fa2765abe305bb3297b524d (diff)
downloadarchlinuxewe-706e164f5f01788cee03bbe99d52242cbfe24ba4.tar.xz
build-all-with-docker: shuffle order in which packages are being built
Diffstat (limited to 'build-all-with-docker')
-rwxr-xr-xbuild-all-with-docker11
1 files changed, 6 insertions, 5 deletions
diff --git a/build-all-with-docker b/build-all-with-docker
index 01206c04e..fbc75020c 100755
--- a/build-all-with-docker
+++ b/build-all-with-docker
@@ -22,11 +22,12 @@ ids=$(
for pkg in */PKGBUILD; do
cd "${pkg%/PKGBUILD}"
../addPkgbuildPatch add
- docker run --rm -d -v .:/build arch-build:latest
- docker run --rm -d -v .:/build arch32-i486-build
- docker run --rm -d -v .:/build arch32-i686-build
- docker run --rm -d -v .:/build arch32-pentium4-build
- docker run --rm -d -v .:/build artix-build:latest
+ {
+ 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 \
| tee /dev/stderr