Add repeat/separator templates; validate at compile time; support Go 1.22+ via GO_VERSION
This commit is contained in:
+5
-3
@@ -1,7 +1,9 @@
|
||||
# Reproducible test/build image. `docker build .` fails if vet or tests fail,
|
||||
# so it doubles as CI. Day-to-day, prefer the Makefile (bind-mounts source,
|
||||
# no rebuilds). Pin matches the latest stable Go at time of writing.
|
||||
FROM golang:1.26.4
|
||||
# so it doubles as CI. Day-to-day, prefer `docker compose run` (bind-mounts
|
||||
# source, no rebuilds). GO_VERSION defaults to the latest stable Go; override it
|
||||
# to test the lowest supported version: docker build --build-arg GO_VERSION=1.22 .
|
||||
ARG GO_VERSION=1.26.4
|
||||
FROM golang:${GO_VERSION}
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user