Skip to content

Commit db9de7d

Browse files
authored
Merge pull request #228 from sassoftware/pr-pskd-903
fix: permissions set in dockerfile (PSKD-903)
2 parents dd1e889 + ab8f006 commit db9de7d

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)