Skip to content

Commit f2c5551

Browse files
committed
Bump golang.org/x/net to 0.57.0
Upstream bump for this is is done in containernetworking/plugins#1270 but no idea when they're gonna do a patch release. Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
1 parent b814088 commit f2c5551

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG \
22
ALPINE_IMAGE=docker.io/library/alpine:3.24.1 \
3-
GOLANG_IMAGE=docker.io/library/golang:1.26.4-alpine3.24 \
3+
GOLANG_IMAGE=docker.io/library/golang:1.26.5-alpine3.24 \
44
VERSION=1.9.1 \
55
HASH=34bd82d47e981940751619c9cc44c095bb90bfcaf8d71865cbb822c37690a764
66

@@ -14,6 +14,11 @@ RUN --mount=type=tmpfs,target=/tmp \
1414
&& { echo $HASH /tmp/sources.tar.gz | sha256sum -c -; } || { sha256sum /tmp/sources.tar.gz; exit 1; } \
1515
&& tar xf /tmp/sources.tar.gz --strip-components=1
1616

17+
# Patch some deps to silence CVE scanners
18+
RUN go mod edit -replace golang.org/x/net=golang.org/x/net@v0.57.0 \
19+
&& go mod tidy \
20+
&& go mod vendor
21+
1722

1823
FROM sources AS bins
1924
ARG TARGETARCH SOURCE_DATE_EPOCH

0 commit comments

Comments
 (0)