Skip to content

Commit

Permalink
Merge pull request hashicorp#1624 from hashicorp/sp/remove-curl
Browse files Browse the repository at this point in the history
Remove dependency on `curl` since it is a source of numerous CVEs
  • Loading branch information
analogue authored Oct 18, 2022
2 parents f305945 + b3f0c58 commit 1951a35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions control-plane/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ LABEL name=${BIN_NAME} \
ENV BIN_NAME=${BIN_NAME}
ENV VERSION=${VERSION}

RUN apk add --no-cache ca-certificates curl gnupg libcap openssl su-exec iputils libc6-compat iptables
RUN apk add --no-cache ca-certificates gnupg libcap openssl su-exec iputils libc6-compat iptables

# Create a non-root user to run the software.
RUN addgroup ${BIN_NAME} && \
Expand Down Expand Up @@ -84,7 +84,7 @@ LABEL name=${BIN_NAME} \
ENV BIN_NAME=${BIN_NAME}
ENV VERSION=${PRODUCT_VERSION}

RUN apk add --no-cache ca-certificates curl gnupg libcap openssl su-exec iputils libc6-compat iptables
RUN apk add --no-cache ca-certificates gnupg libcap openssl su-exec iputils libc6-compat iptables

# TARGETOS and TARGETARCH are set automatically when --platform is provided.
ARG TARGETOS
Expand Down

0 comments on commit 1951a35

Please sign in to comment.