From af5ec3f420bda7d6de950a0ad82053a12d41846b Mon Sep 17 00:00:00 2001 From: qpismont Date: Wed, 15 Oct 2025 19:46:35 +0200 Subject: [PATCH] Fix build script to ensure TMPDIR is set correctly before buildah command --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 4bcc027..168dae1 100755 --- a/build.sh +++ b/build.sh @@ -4,10 +4,10 @@ set -euo pipefail IMAGE_NAME="tintounn/my-fedora" IMAGE_TAG="latest" OUTPUT_DIR="output/" - + export TMPDIR=/data/buildah mkdir -p /data/buildah echo "[INFO] Build de l'image avec sudo..." -buildah TMPDIR=/data/buildah bud --isolation chroot -t localhost/${IMAGE_NAME}:${IMAGE_TAG} . +TMPDIR=/data/buildah buildah bud --isolation chroot -t localhost/${IMAGE_NAME}:${IMAGE_TAG} .