Skip to content

CICD-207 · Custom runner images ​

Encyclopedia · Runner administration and execution infrastructure · All snippets

Previous · CICD-206 · Next · CICD-208

1. Where it fits ​

  • Placement runner.Dockerfile.
  • Prerequisites lab host, trusted repositories, installed act_runner or GitHub runner when named.
  • Platforms gitea-actions.

2. Copy the snippet ​

dockerfile
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates git nodejs python3 && rm -rf /var/lib/apt/lists/*

3. How it works ​

Build instructions are processed in order. ARG applies before FROM only when declared at that scope.

4. Verify the result ​

Build, scan and publish the image. Configure an act_runner Docker label pointing at its tested digest and verify checkout and python3.

Validation untested. Status definitions.