diff --git a/Dockerfile b/Dockerfile index 3a41d03..0d95a63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,9 +16,9 @@ RUN yum -y install git openssh jq which \ && curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \ && chmod 755 ./kubectl /viya4-iac-aws/docker-entrypoint.sh \ && mv ./kubectl /usr/local/bin/kubectl \ - && chmod g=u -R /etc/passwd /etc/group /viya4-iac-aws \ && git config --system --add safe.directory /viya4-iac-aws \ - && terraform init + && terraform init \ + && chmod g=u -R /etc/passwd /etc/group /viya4-iac-aws ENV TF_VAR_iac_tooling=docker ENTRYPOINT ["/viya4-iac-aws/docker-entrypoint.sh"]