Skip to content

Commit de04894

Browse files
authored
Merge pull request #2751 from Nordix/devel/invalid-defaulting
🌱 Dockerfile: add the ARG defaulting within the Dockerfile
2 parents f3d8d67 + 3c067cc commit de04894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# Build the manager binary
1616
ARG GO_VERSION
17-
FROM golang:${GO_VERSION} AS builder
17+
FROM golang:${GO_VERSION:-1.24.7} AS builder
1818
WORKDIR /workspace
1919

2020
# Run this with docker build --build_arg goproxy=$(go env GOPROXY) to override the goproxy

0 commit comments

Comments
 (0)