images/go/Dockerfile
Claude 3fc332844e
Some checks failed
Build CI Images / go-1.26 (push) Failing after 4s
Build CI Images / php-8.3 (push) Failing after 4s
Build CI Images / php-8.4 (push) Failing after 3s
feat: add CI build images (lthn/build:php-*, lthn/build:go-*)
Pre-built Docker images for CI pipelines. Eliminates ~50s setup-php
overhead per matrix job across 13 PHP repos.

Images: php-8.3, php-8.4 (PHP + extensions + Composer), go-1.26
(Go + govulncheck + golangci-lint). Pushed to Docker Hub via
Forgejo Actions workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 13:43:00 +00:00

10 lines
334 B
Docker

ARG GO_VERSION=1.26
FROM golang:${GO_VERSION}-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
git gcc libc6-dev \
&& rm -rf /var/lib/apt/lists/*
# Go CI tooling
RUN go install golang.org/x/vuln/cmd/govulncheck@latest \
&& go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest