From 066a71b8a5350c03c55f8ec7b77b9e9b64cb614c Mon Sep 17 00:00:00 2001 From: Marcel Zapf Date: Sat, 24 Aug 2024 03:57:37 +0200 Subject: [PATCH] update --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index af1dbf7..6296c45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,7 @@ RUN curl -L "https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PA # Install TFE_helper in /usr/local/tf-helper/bin ARG TFHELPER_VERSION=release RUN mkdir -p /usr/local/tf-helper/bin && \ + if [ -d "/usr/local/tf-helper" ]; then rm -rf /usr/local/tf-helper; fi && \ git clone -b ${TFHELPER_VERSION} https://github.com/hashicorp-community/tf-helper.git /usr/local/tf-helper && \ ln -s /usr/local/tf-helper/tfh/bin/tfh /usr/local/tf-helper/bin/tfh