Skip to content

Bump Dockerfile.dev to golang:1.26-alpine to match go.mod and Dockerfile - #22

Merged
mouldybread merged 1 commit into
mainfrom
fix/21-dockerfile-dev-go-version
Nov 28, 2026
Merged

mouldybread merged 1 commit into
mainfrom
fix/21-dockerfile-dev-go-version

Conversation

@mouldybread

Copy link
Copy Markdown
Owner

Closes #21

Change

Dockerfile.dev: FROM golang:1.23-alpine -> FROM golang:1.26-alpine, matching the main Dockerfile builder stage (golang:1.26-alpine) and go 1.26.0 in go.mod. No workflow, required-check or test changes.

air

Kept at v1.61.0. Its go.mod declares go 1.23, so a 1.26 toolchain meets its minimum. Newer air (v1.67.4) declares go 1.26.0, but that isn't needed, so air is not bumped.

.air.toml (reviewed, unchanged)

Builds ./cmd/simplenvr, root is ., include_ext go/tpl/tmpl/html so web/templates is watched. web/static css/js is not watched (pre-existing, not changed here).

Verification

Verified by reading files: PR #20 merged; Dockerfile uses golang:1.26-alpine; go.mod is go 1.26.0; air v1.61.0 go.mod is go 1.23; .air.toml targets ./cmd/simplenvr.
NOT verified: a Docker build of Dockerfile.dev; that go install air@v1.61.0 compiles on Go 1.26; that air starts and rebuilds the app in the container. Dockerfile.dev is not built in CI. Please run docker build -f Dockerfile.dev . and start air before merging.

@mouldybread mouldybread added the run-checkpoint-ci Explicitly request full checkpoint verification label Nov 28, 2026
@mouldybread
mouldybread merged commit 023e558 into main Nov 28, 2026
8 checks passed
@mouldybread
mouldybread deleted the fix/21-dockerfile-dev-go-version branch November 28, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-checkpoint-ci Explicitly request full checkpoint verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dockerfile.dev uses golang:1.23 but go.mod requires 1.26

1 participant