Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion telegraf-build/scripts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use the official Golang 1.21 image as the base image
FROM golang:1.21
FROM golang:1.26rc1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The proposed upgrade to golang:1.26rc1 is concerning. This version tag does not correspond to a known Go release, and the Docker image golang:1.26rc1 is not available on Docker Hub. This will cause the build to fail.

Furthermore, using release candidate (RC) versions is not recommended for production or build environments due to potential instability. It's best practice to use stable releases.

To address the security vulnerabilities while ensuring a stable build, I recommend upgrading to a recent stable version, for example golang:1.22.

FROM golang:1.22


# Set the working directory inside the container
WORKDIR /app
Expand Down