
For consistency and better maintainability, the Go version should be defined as a build argument (ARG) at the top of the Dockerfile, similar to other versions like NODE_VERSION and CHROME_VERSION. This makes all version definitions easy to find and manage in one place.
Please add ARG GO_VERSION="1.26.1" in the arguments section at the top of the file (around line 37) and remove the hardcoded version from this RUN command.
Originally posted by @gemini-code-assist[bot] in #1183 (comment)
For consistency and better maintainability, the Go version should be defined as a build argument (
ARG) at the top of the Dockerfile, similar to other versions likeNODE_VERSIONandCHROME_VERSION. This makes all version definitions easy to find and manage in one place.Please add
ARG GO_VERSION="1.26.1"in the arguments section at the top of the file (around line 37) and remove the hardcoded version from thisRUNcommand.Originally posted by @gemini-code-assist[bot] in #1183 (comment)