Skip to content

Commit

Permalink
feat: add terragrunt.Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-geller committed Jun 13, 2024
1 parent de1c214 commit 5db7f4e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dockerfiles/terragrunt.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM hashicorp/terraform:light
RUN apk add --no-cache \
curl \
bash \
jq \
git

RUN LATEST_VERSION=$(curl --silent "https://api.github.com/repos/gruntwork-io/terragrunt/releases/latest" | jq -r '.tag_name') && \
curl -L -o /usr/local/bin/terragrunt https://github.com/gruntwork-io/terragrunt/releases/download/${LATEST_VERSION}/terragrunt_linux_amd64 && \
chmod +x /usr/local/bin/terragrunt

ENTRYPOINT ["/bin/bash"]

0 comments on commit 5db7f4e

Please sign in to comment.