Files
a13labs.infra/ansible/files/dockerfiles/linux-runners/Dockerfile.go-build
T

11 lines
276 B
Docker
Raw Normal View History

2026-06-30 20:31:12 +02:00
FROM local/gitea-runner-base:latest
# Base image sets USER runner; switch back to root for package installs
2026-06-30 20:31:12 +02:00
USER root
RUN apt-get update && apt-get install -y --no-install-recommends \
golang-go \
&& rm -rf /var/lib/apt/lists/*
# Default to non-root execution
USER runner