From 45d87efc68e40c787d142808d1bc3f5288ccce00 Mon Sep 17 00:00:00 2001 From: dave vader <48764154+plyr4@users.noreply.github.com> Date: Tue, 20 Aug 2024 11:28:29 -0500 Subject: [PATCH] fix: install curl in final image layer (#183) --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8b04011..2918d3b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ RUN wget -q "${TERRAFORM_RELEASE_URL}/${TERRAFORM_ZIP_FILENAME}" -O "${TERRAFORM FROM alpine:latest@sha256:0a4eaa0eecf5f8c050e5bba433f58c052be7587ee8af3e8b3910ef9ab5fbe9f5 as certs -RUN apk add --update --no-cache ca-certificates curl +RUN apk add --update --no-cache ca-certificates ############################################################### ## docker build --no-cache -t vela-terraform:local . ## @@ -38,6 +38,8 @@ RUN apk add --update --no-cache ca-certificates curl FROM alpine:3.20.2@sha256:0a4eaa0eecf5f8c050e5bba433f58c052be7587ee8af3e8b3910ef9ab5fbe9f5 +RUN apk add --update --no-cache curl + ARG TERRAFORM_VERSION ENV PLUGIN_TERRAFORM_VERSION=${TERRAFORM_VERSION}