runner-docker-multiarch (sha256:c2c0014776892e974787ba0c5be4f3688a541fda7cfea25af827448947ab48a3)
Published 2026-06-29 21:17:15 +02:00 by tobias.hertel
Installation
docker pull depot.minenbauer.de/htobi02/runner-docker-multiarch@sha256:c2c0014776892e974787ba0c5be4f3688a541fda7cfea25af827448947ab48a3sha256:c2c0014776892e974787ba0c5be4f3688a541fda7cfea25af827448947ab48a3Image layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1782172800' |
| ARG DEBIAN_FRONTEND=noninteractive |
| ARG TARGETARCH=amd64 |
| ARG RUNNER_VERSION=12.10.1 |
| ARG NODE_VERSION=20.19.5 |
| ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 RUNNER_HOME=/data RUNNER_CONFIG_FILE=/data/config.yml RUNNER_REGISTRATION_FILE=/data/.runner RUNNER_NAME= RUNNER_LABELS= RUNNER_CAPACITY=1 RUNNER_LOG_LEVEL=info RUNNER_DOCKER_HOST=- RUNNER_CONTAINER_NETWORK= RUNNER_CONTAINER_OPTIONS= RUNNER_VALID_VOLUMES= RUNNER_FORCE_PULL=false RUNNER_FORCE_REBUILD=false RUNNER_CACHE_ENABLED=true RUNNER_JOB_DOCKER_HOST= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget jq git unzip xz-utils zip tar gzip gnupg lsb-release procps tini bash python3 python3-yaml && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c set -eux; arch="${TARGETARCH:-amd64}"; case "$arch" in amd64) node_arch="x64" ;; arm64) node_arch="arm64" ;; *) echo "Unsupported TARGETARCH: $arch" && exit 1 ;; esac; curl -fsSL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${node_arch}.tar.xz" -o /tmp/node.tar.xz; tar -xJf /tmp/node.tar.xz -C /usr/local --strip-components=1; rm -f /tmp/node.tar.xz; node --version # buildkit |
| RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c set -eux; arch="${TARGETARCH:-amd64}"; case "$arch" in amd64|arm64) ;; *) echo "Unsupported TARGETARCH: $arch" && exit 1 ;; esac; if [ -z "$RUNNER_VERSION" ]; then RUNNER_VERSION="$(curl -fsSL https://data.forgejo.org/api/v1/repos/forgejo/runner/releases/latest | jq -r '.tag_name // .name' | sed 's/^v//')"; fi; RUNNER_URL="https://code.forgejo.org/forgejo/runner/releases/download/v${RUNNER_VERSION}/forgejo-runner-${RUNNER_VERSION}-linux-${arch}"; curl -fsSL "$RUNNER_URL" -o /usr/local/bin/forgejo-runner; chmod +x /usr/local/bin/forgejo-runner; forgejo-runner -v # buildkit |
| RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c mkdir -p /data /workspace # buildkit |
| WORKDIR /data |
| COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit |
| RUN |4 DEBIAN_FRONTEND=noninteractive TARGETARCH=amd64 RUNNER_VERSION=12.10.1 NODE_VERSION=20.19.5 /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh # buildkit |
| VOLUME [/data] |
| ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/entrypoint.sh"] |
| ARG DEBIAN_FRONTEND=noninteractive |
| ENV DOCKER_BUILDKIT=1 |
| RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends binfmt-support ca-certificates curl gnupg jq lsb-release openssh-client qemu-user-static; install -m 0755 -d /etc/apt/keyrings; curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc; chmod a+r /etc/apt/keyrings/docker.asc; dpkg_arch="$(dpkg --print-architecture)"; echo "deb [arch=${dpkg_arch} signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable" > /etc/apt/sources.list.d/docker.list; apt-get update; apt-get install -y --no-install-recommends docker-ce-cli docker-buildx-plugin docker-compose-plugin; docker --version; docker buildx version; rm -rf /var/lib/apt/lists/* # buildkit |