From 3c117c8f14ad334ce0f1978d043396babf375ac2 Mon Sep 17 00:00:00 2001 From: Marcel Zapf Date: Sat, 24 Aug 2024 03:25:21 +0200 Subject: [PATCH] update --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3541d37..35a2ece 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \