summaryrefslogtreecommitdiff
path: root/build-all-with-docker
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-07-15 21:33:38 +0200
committerErich Eckner <git@eckner.net>2024-07-15 21:33:38 +0200
commit27091cf4aa6edb048f5a115bd67f379da84ea57d (patch)
tree5b96ae8abe21b6cd854dae01c783ba2f5a8d7c8a /build-all-with-docker
parent12c92f352a4491c91df9950190eda5d7249a1ec9 (diff)
downloadarchlinuxewe-27091cf4aa6edb048f5a115bd67f379da84ea57d.tar.xz
build-all-with-docker: remove docker containers after building
Diffstat (limited to 'build-all-with-docker')
-rwxr-xr-xbuild-all-with-docker10
1 files changed, 5 insertions, 5 deletions
diff --git a/build-all-with-docker b/build-all-with-docker
index fbccd3fd8..5c9d76adf 100755
--- a/build-all-with-docker
+++ b/build-all-with-docker
@@ -30,11 +30,11 @@ for pkg in */PKGBUILD; do
cd "${pkg%/PKGBUILD}"
(
../addPkgbuildPatch add
- docker run -v .:/build arch-build:latest
- docker run -v .:/build arch32-i486-build
- docker run -v .:/build arch32-i686-build
- docker run -v .:/build arch32-pentium4-build
- docker run -v .:/build artix-build:latest
+ docker run --rm -v .:/build arch-build:latest
+ docker run --rm -v .:/build arch32-i486-build
+ docker run --rm -v .:/build arch32-i686-build
+ docker run --rm -v .:/build arch32-pentium4-build
+ docker run --rm -v .:/build artix-build:latest
../addPkgbuildPatch del
[ -n "$(git status --porcelain -- PKGBUILD)" ] && ../commit-package -a && git push
) &