From a3075e9abc2bba0fb56e40d0b2f9833b064471f8 Mon Sep 17 00:00:00 2001 From: Vincent Illiano Date: Tue, 19 Nov 2024 10:02:00 -0500 Subject: [PATCH] fix: permissions set in dockerfile (PSKD-903) Signed-off-by: Vincent Illiano --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2477ac91..f206fd44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,9 +15,9 @@ RUN yum -y install git openssh jq which curl \ && curl -sLO https://dl.k8s.io/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \ && chmod 755 ./kubectl /viya4-iac-azure/docker-entrypoint.sh \ && mv ./kubectl /usr/local/bin/kubectl \ - && chmod g=u -R /etc/passwd /etc/group /viya4-iac-azure \ && git config --system --add safe.directory /viya4-iac-azure \ - && terraform init + && terraform init \ + && chmod g=u -R /etc/passwd /etc/group /viya4-iac-azure ENV TF_VAR_iac_tooling=docker ENTRYPOINT ["/viya4-iac-azure/docker-entrypoint.sh"]