Skip to content

Commit e51dfc2

Browse files
authored
Bump go version to 1.23.6 to address CVE-2025-22866. (#547)
1 parent 43f3c56 commit e51dfc2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/Dockerfile.alpine.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG CMD_PATH
77
ARG BUILD_TAGS
88

99
RUN apk add --no-cache git make musl-dev gcc
10-
COPY --from=golang:1.23.2-alpine /usr/local/go/ /usr/lib/go
10+
COPY --from=golang:1.23.6-alpine /usr/local/go/ /usr/lib/go
1111

1212
ENV GOROOT /usr/lib/go
1313
ENV GOPATH /go

scripts/Dockerfile.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN arch="$(uname -m)"; \
1515
if [ "${arch}" = 'x86_64' ]; then \
1616
arch='amd64'; \
1717
fi; \
18-
wget -O go1.23.2.linux-${arch}.tar.gz https://go.dev/dl/go1.23.2.linux-${arch}.tar.gz; \
19-
tar -C /usr/local -xzf go1.23.2.linux-${arch}.tar.gz
18+
wget -O go1.23.6.linux-${arch}.tar.gz https://go.dev/dl/go1.23.6.linux-${arch}.tar.gz; \
19+
tar -C /usr/local -xzf go1.23.6.linux-${arch}.tar.gz
2020

2121
# cache dependencies
2222
COPY ./scripts/.cache/go.mod /tmp/dd/datadog-agent

0 commit comments

Comments
 (0)