Skip to content

Commit 7ec145a

Browse files
authored
vulnerability: upgrade go to 1.24.6 (#782)
# What? Solves vulnerability issues
1 parent dcdda04 commit 7ec145a

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

images/Dockerfile.go_agent.alpine.compile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN apk add --no-cache git make musl-dev gcc
1414
# listed in the agen't go.work files. The go we install here will download the
1515
# appropriate version specified in the go.work file before running go commands
1616
# for the agent.
17-
COPY --from=registry.ddbuild.io/images/mirror/golang:1.24.4-alpine /usr/local/go/ /usr/lib/go
17+
COPY --from=registry.ddbuild.io/images/mirror/golang:1.24.6-alpine /usr/local/go/ /usr/lib/go
1818

1919
ENV GOROOT=/usr/lib/go
2020
ENV GOPATH=/go

images/Dockerfile.go_agent.compile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ RUN arch="$(uname -m)"; \
2121
if [ "${arch}" = 'x86_64' ]; then \
2222
arch='amd64'; \
2323
fi; \
24-
wget -O go1.24.4.linux-${arch}.tar.gz https://go.dev/dl/go1.24.4.linux-${arch}.tar.gz; \
25-
tar -C /usr/local -xzf go1.24.4.linux-${arch}.tar.gz
24+
wget -O go1.24.6.linux-${arch}.tar.gz https://go.dev/dl/go1.24.6.linux-${arch}.tar.gz; \
25+
tar -C /usr/local -xzf go1.24.6.linux-${arch}.tar.gz
2626

2727
# Copy cached dependencies
2828
COPY ./scripts/.cache/go.mod /tmp/dd/datadog-agent

scripts/Dockerfile.alpine.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apk add --no-cache git make musl-dev gcc
1313
# listed in the agen't go.work files. The go we install here will download the
1414
# appropriate version specified in the go.work file before running go commands
1515
# for the agent.
16-
COPY --from=golang:1.24.4-alpine /usr/local/go/ /usr/lib/go
16+
COPY --from=golang:1.24.6-alpine /usr/local/go/ /usr/lib/go
1717

1818
ENV GOROOT /usr/lib/go
1919
ENV GOPATH /go

scripts/Dockerfile.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ RUN arch="$(uname -m)"; \
2121
if [ "${arch}" = 'x86_64' ]; then \
2222
arch='amd64'; \
2323
fi; \
24-
wget -O go1.24.4.linux-${arch}.tar.gz https://go.dev/dl/go1.24.4.linux-${arch}.tar.gz; \
25-
tar -C /usr/local -xzf go1.24.4.linux-${arch}.tar.gz
24+
wget -O go1.24.6.linux-${arch}.tar.gz https://go.dev/dl/go1.24.6.linux-${arch}.tar.gz; \
25+
tar -C /usr/local -xzf go1.24.6.linux-${arch}.tar.gz
2626

2727
# cache dependencies
2828
COPY ./scripts/.cache/go.mod /tmp/dd/datadog-agent

scripts/Dockerfile.race.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# listed in the agen't go.work files. The go we install here will download the
66
# appropriate version specified in the go.work file before running go commands
77
# for the agent.
8-
FROM golang:1.24.4 as builder
8+
FROM golang:1.24.6 as builder
99

1010
ARG EXTENSION_VERSION
1111
ARG ENABLE_RACE_DETECTION

0 commit comments

Comments
 (0)