From 0821381a1444747912b8120ebf261fb326aa5580 Mon Sep 17 00:00:00 2001 From: Dennis Schiese Date: Tue, 2 Apr 2024 14:55:59 +0200 Subject: [PATCH] Added image removal for pythin build script --- service_config/build_python_images.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service_config/build_python_images.sh b/service_config/build_python_images.sh index f4a3914db..2f445518e 100755 --- a/service_config/build_python_images.sh +++ b/service_config/build_python_images.sh @@ -16,5 +16,7 @@ do echo "Pushing ${versioned_image_name} and ${latest_image_name}" docker push "${versioned_image_name}" docker push "${latest_image_name}" + docker rmi -f "${versioned_image_name}" + docker rmi -f "${latest_image_name}" cd .. done