Repository navigation
Bump Dockerfile.dev to golang:1.26-alpine to match go.mod and Dockerfile - #22
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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) andgo 1.26.0in 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) declaresgo 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.0compiles on Go 1.26; that air starts and rebuilds the app in the container. Dockerfile.dev is not built in CI. Please rundocker build -f Dockerfile.dev .and start air before merging.