Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Syntax3rror404 committed Aug 24, 2024
1 parent 5c29e32 commit 3c117c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Install Terraform in /usr/local/terraform/bin
RUN mkdir -p /usr/local/terraform/bin && \
curl -L -o /tmp/terraform.zip https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
unzip /tmp/terraform.zip -d /usr/local/terraform/bin && rm /tmp/terraform.zip
unzip /tmp/terraform.zip -d /usr/local/terraform/bin || (echo "Failed to download or unzip Terraform"; exit 1) && \
rm /tmp/terraform.zip

# Install Packer in /usr/local/packer/bin
RUN mkdir -p /usr/local/packer/bin && \
Expand Down

0 comments on commit 3c117c8

Please sign in to comment.