From 89da53d1b4a7331ea25156a5cfd429ce2efadf6f Mon Sep 17 00:00:00 2001
From: Martin Killenberg <martin.killenberg@desy.de>
Date: Mon, 8 Mar 2021 16:34:34 +0100
Subject: [PATCH] fixed name of tubleweed image in modify_image helper script

---
 dockerfiles/tumbleweed.modify_image.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dockerfiles/tumbleweed.modify_image.sh b/dockerfiles/tumbleweed.modify_image.sh
index 53f2aa0..d5330ed 100755
--- a/dockerfiles/tumbleweed.modify_image.sh
+++ b/dockerfiles/tumbleweed.modify_image.sh
@@ -4,7 +4,7 @@
 # --security-opt seccomp:unconfined flag, which is not available when building an image. So here is the work-around:
 
 # Create a container with the required flag and start it
-docker create -i --security-opt seccomp:unconfined --name tumbleweed_updater tumbleweed
+docker create -i --security-opt seccomp:unconfined --name tumbleweed_updater builder:tumbleweed
 docker start tumbleweed_updater
 
 # Execute the required commands in the container
@@ -16,7 +16,7 @@ docker exec tumbleweed_updater git config --system https.proxy http://xfelproxy.
 
 # Stop the container and commit the changes to the image
 docker stop tumbleweed_updater
-docker commit tumbleweed_updater tumbleweed
+docker commit tumbleweed_updater builder:tumbleweed
 
 # Finally remove the container
 docker container rm tumbleweed_updater
-- 
GitLab