Files
homelab/k8s/infra/forgejo-runner/Dockerfile.rust
T
rock 88dc4112d6
Build and push runner images / build-runners (pull_request) Failing after 9s
fix: use 'docker' not 'docker-cli' (correct Alpine package name)
2026-09-06 06:43:17 -07:00

21 lines
514 B
Docker

FROM code.forgejo.org/forgejo/runner:6
# Switch to root to install packages (Alpine)
USER root
# Alpine uses apk, not apt-get
RUN apk update && apk add --no-cache \
nodejs \
npm \
curl \
docker
# Install Rust (as root, skip verification for now)
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable || true
# Verify core installations
RUN docker --version && node --version && git --version
# Switch back to runner user
USER 1000:1000