Skip to content

Commit ab8f006

Browse files
author
Vincent Illiano
committed
fix: permissions set in dockerfile (PSKD-903)
Signed-off-by: Vincent Illiano <[email protected]>
1 parent dd1e889 commit ab8f006

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ RUN apk update \
2121
&& curl -sLO https://dl.k8s.io/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \
2222
&& chmod 755 ./kubectl /viya4-iac-gcp/docker-entrypoint.sh \
2323
&& mv ./kubectl /usr/local/bin/kubectl \
24-
&& chmod g=u -R /etc/passwd /etc/group /viya4-iac-gcp \
2524
&& git config --system --add safe.directory /viya4-iac-gcp \
2625
&& terraform init \
2726
&& gcloud components install gke-gcloud-auth-plugin alpha beta cloud-sql-proxy $INSTALL_COMPONENTS \
28-
&& rm -rf /google-cloud-sdk/.install/.backup
27+
&& rm -rf /google-cloud-sdk/.install/.backup \
28+
&& chmod g=u -R /etc/passwd /etc/group /viya4-iac-gcp
2929

3030
ENV TF_VAR_iac_tooling=docker
3131
ENV USE_GKE_GCLOUD_AUTH_PLUGIN=$ENABLE_GKE_GCLOUD_AUTH_PLUGIN

0 commit comments

Comments
 (0)