blumeops/argocd/manifests/forgejo-runner/Dockerfile
Erich Blume 85941b5960
All checks were successful
Test CI / test (pull_request) Successful in 0s
Fix Dockerfile for Alpine, update deployment to use custom image
- Base image is Alpine Linux, not Debian - use apk instead of apt-get
- Switch to root for package install, then back to user 1000
- Add musl-dev for C compilation, docker-cli for container builds
- Update deployment to use registry.tail8d86e.ts.net/blumeops/forgejo-runner:latest

Image built and pushed to zot registry.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 18:42:24 -08:00

29 lines
593 B
Docker

FROM code.forgejo.org/forgejo/runner:3.5.1
# Switch to root to install packages
USER root
# The base image is Alpine Linux
# Install tools needed for GitHub Actions and builds
RUN apk add --no-cache \
# Required for actions/checkout and other Node-based actions
nodejs \
npm \
# Build essentials
git \
curl \
wget \
jq \
make \
gcc \
g++ \
musl-dev \
# For container builds
ca-certificates \
docker-cli
# Verify tools are available
RUN node --version && npm --version && docker --version
# Switch back to non-root user
USER 1000