From ab8f006e2c843e5b54cd28cedd9648bb4029b2b0 Mon Sep 17 00:00:00 2001 From: Vincent Illiano Date: Tue, 19 Nov 2024 10:10:14 -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 2ccc198..ab789c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,11 +21,11 @@ RUN apk update \ && curl -sLO https://dl.k8s.io/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \ && chmod 755 ./kubectl /viya4-iac-gcp/docker-entrypoint.sh \ && mv ./kubectl /usr/local/bin/kubectl \ - && chmod g=u -R /etc/passwd /etc/group /viya4-iac-gcp \ && git config --system --add safe.directory /viya4-iac-gcp \ && terraform init \ && gcloud components install gke-gcloud-auth-plugin alpha beta cloud-sql-proxy $INSTALL_COMPONENTS \ - && rm -rf /google-cloud-sdk/.install/.backup + && rm -rf /google-cloud-sdk/.install/.backup \ + && chmod g=u -R /etc/passwd /etc/group /viya4-iac-gcp ENV TF_VAR_iac_tooling=docker ENV USE_GKE_GCLOUD_AUTH_PLUGIN=$ENABLE_GKE_GCLOUD_AUTH_PLUGIN