Skip to content

Commit

Permalink
security: update alpine base image to 3.19
Browse files Browse the repository at this point in the history
Resolves CVE-2024-0727.
  • Loading branch information
zalimeni committed May 21, 2024
1 parent 9518284 commit 45c71ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/4016.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:security
Bump Dockerfile base image for `consul-k8s-control-plane` to `alpine:3.19` to address [CVE-2024-0727](https://nvd.nist.gov/vuln/detail/CVE-2024-0727)
```
4 changes: 2 additions & 2 deletions control-plane/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN CGO_ENABLED=0 go install github.com/hashicorp/go-discover/cmd/discover@21457
# dev copies the binary from a local build
# -----------------------------------
# BIN_NAME is a requirement in the hashicorp docker github action
FROM alpine:3.18 AS dev
FROM alpine:3.19 AS dev

# NAME and VERSION are the name of the software in releases.hashicorp.com
# and the version to download. Example: NAME=consul VERSION=1.2.3.
Expand Down Expand Up @@ -79,7 +79,7 @@ CMD /bin/${BIN_NAME}
# We don't rebuild the software because we want the exact checksums and
# binary signatures to match the software and our builds aren't fully
# reproducible currently.
FROM alpine:3.18 AS release-default
FROM alpine:3.19 AS release-default

ARG BIN_NAME=consul-k8s-control-plane
ARG CNI_BIN_NAME=consul-cni
Expand Down

0 comments on commit 45c71ab

Please sign in to comment.