From 7f863740f8c535c79d6ba88f649c810f6d17ceb5 Mon Sep 17 00:00:00 2001 From: Karel Simon Date: Tue, 26 Nov 2024 19:52:11 +0100 Subject: [PATCH] fix: creation of /.ansible folder in builder dockerfile the automation for releases stopped working because of error with folder permission. By changing the command to RUN mkdir -m 777 -p /.ansible/tmp the release automation started working. Signed-off-by: Karel Simon --- builder/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/builder/Dockerfile b/builder/Dockerfile index ce83dbf2..1bd0a90a 100644 --- a/builder/Dockerfile +++ b/builder/Dockerfile @@ -6,10 +6,8 @@ RUN dnf install -y jq ansible python3-gobject python3-openshift python3-pip libo # Allow writes to /etc/passwd so a user for ansible can be added by CI commands RUN chmod a+w /etc/passwd - # Create ansible tmp folder and set permissions -RUN mkdir -p /.ansible/tmp && \ - chmod -R 777 /.ansible +RUN mkdir -m 777 -p /.ansible/tmp # Download latest stable oc client binary RUN curl -L https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/openshift-client-linux.tar.gz | tar -C /usr/local/bin -xzf - oc && \