Skip to content

Commit 2f508ad

Browse files
fix: bump Go base image to 1.26 in jvm/perf/ruby/dummy Dockerfiles (#73)
* fix: bump Go base image to 1.26 to satisfy go.mod requirement go.mod was bumped to go 1.26.0 in PR #71's grouped module update, but four Dockerfiles still pinned golang:1.24-bullseye (jvm, perf, ruby) or golang:1.23.4-alpine (dummy), causing release.yml builds to fail with 'go.mod requires go >= 1.26.0 (running go 1.24.6)'. Aligns all Go build stages on 1.26. * ci: read Go version from go.mod in code-verify setup-go was pinned to 1.23.4 but go.mod now requires 1.26.0; use go-version-file so the workflow tracks go.mod automatically. * fix: pin Go base image patch version to 1.26.3 (review feedback) Per gemini-code-assist review on #73: use 1.26.3 patch pin instead of the floating 1.26 tag, matching the alpine variants (bpf, python, jvm/alpine) already on 1.26.3 and ensuring reproducible builds.
1 parent a43db61 commit 2f508ad

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/code-verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v6
1717
with:
18-
go-version: '1.23.4'
18+
go-version-file: go.mod
1919

2020
- name: Build
2121
run: go build -v ./...

docker/dummy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.4-alpine AS agentbuild
1+
FROM golang:1.26.3-alpine AS agentbuild
22
WORKDIR /go/src/github.com/nudgebee/application-profiler
33
COPY . /go/src/github.com/nudgebee/application-profiler
44
RUN go get -d -v ./...

docker/jvm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG JAVA_VERSION_TAG=21
2-
FROM golang:1.24.6-bullseye AS agentbuild
2+
FROM golang:1.26.3-bullseye AS agentbuild
33
WORKDIR /go/src/github.com/nudgebee/application-profiler
44
COPY . /go/src/github.com/nudgebee/application-profiler
55
RUN go get -d -v ./...

docker/perf/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24-bullseye AS agentbuild
1+
FROM golang:1.26.3-bullseye AS agentbuild
22
WORKDIR /go/src/github.com/nudgebee/application-profiler
33
COPY . /go/src/github.com/nudgebee/application-profiler
44
RUN go get -d -v ./...

docker/ruby/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24-bullseye AS agentbuild
1+
FROM golang:1.26.3-bullseye AS agentbuild
22
WORKDIR /go/src/github.com/nudgebee/application-profiler
33
COPY . /go/src/github.com/nudgebee/application-profiler
44
RUN go get -d -v ./...

0 commit comments

Comments
 (0)