File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 11FROM ubuntu:20.04
22ARG TERRAFORM_VERSION=1.3.2
3+ ARG OPENTOFU_VERSION=1.6.2
34ARG TERRAGRUNT_VERSION=0.57.0
45ARG VAULT_VERSION=1.17.6
56ARG YTT_VERSION=0.48.0
@@ -32,6 +33,9 @@ RUN apt-get update && apt install curl gnupg software-properties-common -y && ad
3233RUN wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip -O /tmp/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
3334 && unzip /tmp/terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /bin/ \
3435 && rm /tmp/terraform_${TERRAFORM_VERSION}_linux_amd64.zip
36+ RUN wget -q https://github.com/opentofu/opentofu/releases/download/v${OPENTOFU_VERSION}/tofu_${OPENTOFU_VERSION}_linux_amd64.zip -O /tmp/tofu_${OPENTOFU_VERSION}_linux_amd64.zip \
37+ && unzip /tmp/tofu_${OPENTOFU_VERSION}_linux_amd64.zip -d /bin/ \
38+ && rm /tmp/tofu_${OPENTOFU_VERSION}_linux_amd64.zip
3539RUN wget -q https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT_VERSION}/terragrunt_linux_amd64 -O /bin/terragrunt \
3640 && chmod +x /bin/terragrunt
3741RUN wget -q https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip -O /tmp/vault_${VAULT_VERSION}_linux_amd64.zip \
@@ -46,6 +50,9 @@ RUN wget -q https://github.com/carvel-dev/kapp/releases/download/v${KAPP_VERSION
4650RUN wget -q https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -O /bin/kubectl \
4751 && chmod +x /bin/kubectl
4852
53+ # Set Terragrunt to use OpenTofu instead of Terraform
54+ ENV TERRAGRUNT_TFPATH=/bin/tofu
55+
4956RUN pip3 install --upgrade pip \
5057 && mkdir /workdir && cd /workdir \
5158 && mkdir keys \
You can’t perform that action at this time.
0 commit comments