Skip to content

Commit

Permalink
ci: install tofu in pipeline image
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipndev committed Jun 18, 2024
1 parent 2db08f7 commit 5b3c916
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ RUN curl -L -O "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/te
unzip "terraform_${TERRAFORM_VERSION}_linux_amd64.zip" -d /usr/local/bin && \
rm -f "terraform_${TERRAFORM_VERSION}_linux_amd64.zip"

ARG TOFU_VERSION=1.7.2
RUN wget https://github.com/opentofu/opentofu/releases/download/v${TOFU_VERSION}/tofu_${TOFU_VERSION}_386.apk -O tofu.apk && \
apk add --allow-untrusted tofu.apk

ARG HCLEDIT_VERSION=0.2.8
RUN wget https://github.com/minamijoyo/hcledit/releases/download/v${HCLEDIT_VERSION}/hcledit_${HCLEDIT_VERSION}_linux_amd64.tar.gz \
&& tar -zxvf hcledit_${HCLEDIT_VERSION}_linux_amd64.tar.gz \
Expand Down

0 comments on commit 5b3c916

Please sign in to comment.