From 4e8bbed91e4fcdb76d2d08dafb0a954b38b40c5b Mon Sep 17 00:00:00 2001 From: Vincent Illiano Date: Mon, 18 Nov 2024 15:42:08 -0500 Subject: [PATCH] fix: permissions set in dockerfile (PSKD-903) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dbd6d75..bf68adf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,11 +21,11 @@ RUN apk update \ && curl -sLO https://storage.googleapis.com/kubernetes-release/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