Skip to content

Commit

Permalink
Adding terragrunt cli to the image
Browse files Browse the repository at this point in the history
  • Loading branch information
alandavid committed Aug 20, 2024
1 parent 6fa07ed commit 48e3440
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ RUN apk --no-cache update && \
unzip /tmp/terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/bin && \
rm -rf /var/tmp/ && \
rm -rf /tmp/* && \
rm -rf /var/cache/apk/*
rm -rf /var/cache/apk/* && \
wget -qO- https://github.com/gruntwork-io/terragrunt/releases/download/v0.62.2/terragrunt_linux_amd64 -O /usr/local/bin/terragrunt && \
chmod +x /usr/local/bin/terragrunt && \
wget -qO- https://releases.hashicorp.com/terraform/1.9.3/terraform_1.9.3_linux_amd64.zip -O /tmp/terraform.zip && \
unzip /tmp/terraform.zip -d /usr/local/bin && \
chmod +x /usr/local/bin/terraform

COPY scripts /opt/scripts
RUN chmod 777 /opt/scripts/*
Expand Down

0 comments on commit 48e3440

Please sign in to comment.