From dea566160b31aaee4a02889f1ea83257fb36fc5d Mon Sep 17 00:00:00 2001 From: Florent Gluck <florent.gluck@hesge.ch> Date: Thu, 22 Aug 2024 17:05:26 +0200 Subject: [PATCH] Improved build_live_exam_iso so that it can be executed concurrently --- live_exam_os/build_live_exam_iso | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/live_exam_os/build_live_exam_iso b/live_exam_os/build_live_exam_iso index 71b86377..35f3bcda 100755 --- a/live_exam_os/build_live_exam_iso +++ b/live_exam_os/build_live_exam_iso @@ -2,7 +2,8 @@ CONFIG_DIR=config TMP_CONTAINER_NAME=`echo $RANDOM | md5sum | head -c 20; echo;` -DOCKER_IMG=nexus-live-exam-os +IMG_SUFFIX=`echo $RANDOM | md5sum | head -c 8; echo;` +DOCKER_IMG="nexus-live-exam-os_"$IMG_SUFFIX usage () { app=`basename $0` -- GitLab