Skip to content

Commit

Permalink
fix: install curl in final image layer (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Aug 20, 2024
1 parent 000a0dc commit 45d87ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@ 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 . ##
###############################################################

FROM alpine:3.20.2@sha256:0a4eaa0eecf5f8c050e5bba433f58c052be7587ee8af3e8b3910ef9ab5fbe9f5

RUN apk add --update --no-cache curl

ARG TERRAFORM_VERSION

ENV PLUGIN_TERRAFORM_VERSION=${TERRAFORM_VERSION}
Expand Down

0 comments on commit 45d87ef

Please sign in to comment.