From ab3bb7bb27a0718e6a3130bbc8dbdf826c8a1f41 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Sat, 5 Mar 2022 13:01:07 +0100 Subject: [PATCH] Matrix image build : added some && --- podman-matrix/zz_build-images.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/podman-matrix/zz_build-images.sh b/podman-matrix/zz_build-images.sh index fb037c7..3eee1ae 100755 --- a/podman-matrix/zz_build-images.sh +++ b/podman-matrix/zz_build-images.sh @@ -21,8 +21,8 @@ if ! podman image exists localhost/matrixdotorg/synapse:${synapse_version}; then --local dockerfile=${buildfolder}/docker/ \ --output type=oci,name="fixme:synapse_${synapse_version}" | \ podman load && - podman image tag localhost/synapse_${synapse_version}:latest ${synapse_image}:${synapse_version} - podman image rm localhost/synapse_${synapse_version}:latest + podman image tag localhost/synapse_${synapse_version}:latest ${synapse_image}:${synapse_version} && + podman image rm localhost/synapse_${synapse_version}:latest && podman rm --force buildkitd && podman rmi docker.io/moby/buildkit:latest && rm -f ~/bin/buildctl