2026-09-05 23:43:21 -07:00
|
|
|
FROM code.forgejo.org/forgejo/runner:6
|
2026-09-05 23:13:59 -07:00
|
|
|
|
2026-09-05 23:43:21 -07:00
|
|
|
# Install Node.js + Rust (needed for GitHub Actions checkout@v4, etc.)
|
2026-09-05 23:13:59 -07:00
|
|
|
RUN apt-get update && \
|
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
|
nodejs \
|
2026-09-05 23:43:21 -07:00
|
|
|
npm && \
|
2026-09-05 23:13:59 -07:00
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
# Install Rust
|
2026-09-05 23:43:21 -07:00
|
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
|
|
|
|
|
|
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
2026-09-05 23:13:59 -07:00
|
|
|
|
|
|
|
|
# Verify installations
|
|
|
|
|
RUN docker --version && node --version && git --version && rustc --version
|