Dockerfile: bump tailscale HEAD builder to Go 1.26.2

Tailscale main now requires go >= 1.26.2, so building the HEAD image
against golang:1.26.1-alpine fails with:

    go: go.mod requires go >= 1.26.2 (running go 1.26.1; GOTOOLCHAIN=local)

Bump the base image to golang:1.26.2-alpine so `go run ./cmd/hi run`
can build the HEAD container locally again.
This commit is contained in:
Kristoffer Dalby
2026-04-08 10:30:52 +00:00
parent b52f8cb52f
commit 6390fcee79

View File

@@ -4,7 +4,7 @@
# This Dockerfile is more or less lifted from tailscale/tailscale
# to ensure a similar build process when testing the HEAD of tailscale.
FROM golang:1.26.1-alpine AS build-env
FROM golang:1.26.2-alpine AS build-env
WORKDIR /go/src