bitua

runner-image (github-c5890ad6a7381223d4f91147a2ac2f75bf7f2f05-arm64)

Published 2026-10-27 14:56:09 +00:00 by botua

Installation

docker pull gitea.bitua.io/bitua/runner-image:github-c5890ad6a7381223d4f91147a2ac2f75bf7f2f05-arm64
sha256:2ba478a16c64591319c9439f57fcf7ece9c3a908ce485e75e5b8c48b925ed870

Image Layers

# debian.sh --arch 'arm64' out/ 'trixie' '@1792531975'
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends bash build-essential ca-certificates curl file git gnupg jq openssh-client pkg-config python3 python3-pip python3-venv python3-yaml python-is-python3 rsync sudo unzip wget xz-utils zip && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c install -d -m 0755 /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_24.x nodistro main" > /etc/apt/sources.list.d/nodesource.list && apt-get update && apt-get install -y --no-install-recommends nodejs && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c install -d -m 0755 /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg && chmod a+r /etc/apt/keyrings/docker.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian trixie 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 && rm -rf /var/lib/apt/lists/* # buildkit
ARG GO_VERSION=1.27.3
RUN |1 GO_VERSION=1.27.3 /bin/sh -c curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-$(dpkg --print-architecture).tar.gz" | tar -C /usr/local -xz # buildkit
ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ARG D2_VERSION=v0.7.1
RUN |2 GO_VERSION=1.27.3 D2_VERSION=v0.7.1 /bin/sh -c curl -fsSL -o /tmp/d2.tgz "https://github.com/d2lang/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-linux-$(dpkg --print-architecture).tar.gz" && tar -C /usr/local/bin --strip-components=2 -xzf /tmp/d2.tgz "d2-${D2_VERSION}/bin/d2" && rm /tmp/d2.tgz # buildkit
ARG NFPM_VERSION=v2.43.0
RUN |3 GO_VERSION=1.27.3 D2_VERSION=v0.7.1 NFPM_VERSION=v2.43.0 /bin/sh -c arch=$(dpkg --print-architecture) && case "$arch" in amd64) nfpm_arch=x86_64 ;; *) nfpm_arch=$arch ;; esac && curl -fsSL -o /tmp/nfpm.tgz "https://github.com/goreleaser/nfpm/releases/download/${NFPM_VERSION}/nfpm_${NFPM_VERSION#v}_Linux_${nfpm_arch}.tar.gz" && tar -C /usr/local/bin -xzf /tmp/nfpm.tgz nfpm && rm /tmp/nfpm.tgz # buildkit
COPY bitua-web-root-ca.crt /usr/local/share/ca-certificates/bitua-web-root-ca.crt # buildkit
RUN |3 GO_VERSION=1.27.3 D2_VERSION=v0.7.1 NFPM_VERSION=v2.43.0 /bin/sh -c update-ca-certificates && openssl x509 -in /usr/local/share/ca-certificates/bitua-web-root-ca.crt -noout -fingerprint -sha256 | grep -q '96:1D:D1:68' && openssl verify -CAfile /etc/ssl/certs/ca-certificates.crt /usr/local/share/ca-certificates/bitua-web-root-ca.crt # buildkit
ENV NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/bitua-web-root-ca.crt
COPY /usr/local/bin/bun /usr/local/bin/bun # buildkit
ARG POUCHDB_SERVER_VERSION=4.2.0
ENV COUCHTEST_POUCHDB_SERVER=/opt/pouchdb-server/node_modules/.bin/pouchdb-server
RUN |4 GO_VERSION=1.27.3 D2_VERSION=v0.7.1 NFPM_VERSION=v2.43.0 POUCHDB_SERVER_VERSION=4.2.0 /bin/sh -c install -d /opt/pouchdb-server && printf '{"name":"couchtest-fixture","private":true,"dependencies":{"pouchdb-server":"%s"}}\n' "$POUCHDB_SERVER_VERSION" > /opt/pouchdb-server/package.json && cd /opt/pouchdb-server && bun install && "$COUCHTEST_POUCHDB_SERVER" --help >/dev/null # buildkit
WORKDIR /workspace
CMD ["bash"]
RUN |4 GO_VERSION=1.27.3 D2_VERSION=v0.7.1 NFPM_VERSION=v2.43.0 POUCHDB_SERVER_VERSION=4.2.0 /bin/sh -c node --version && bun --version && go version && docker --version && docker buildx version && docker compose version && d2 --version && printf 'x -> y: hola' | d2 - /tmp/smoke.svg && grep -q '<svg' /tmp/smoke.svg && rm /tmp/smoke.svg && nfpm --version && git --version && python3 --version && ssh -V && jq --version && zip --version # buildkit
RUN /bin/sh -c groupadd -g 2375 dind && useradd -m -u 1001 -G dind,sudo -s /bin/bash runner && echo 'runner ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/runner && chmod 0440 /etc/sudoers.d/runner # buildkit
COPY actions-runner.pin /tmp/actions-runner.pin # buildkit
RUN /bin/sh -c set -eu; . /tmp/actions-runner.pin; case "$(dpkg --print-architecture)" in amd64) arch=x64; sum="$sha256_x64" ;; arm64) arch=arm64; sum="$sha256_arm64" ;; esac; curl -fsSL -o /tmp/runner.tgz "https://github.com/actions/runner/releases/download/v${version}/actions-runner-linux-${arch}-${version}.tar.gz"; echo "${sum} /tmp/runner.tgz" | sha256sum -c -; tar -C /home/runner -xzf /tmp/runner.tgz; rm /tmp/runner.tgz /tmp/actions-runner.pin; /home/runner/bin/installdependencies.sh; rm -rf /var/lib/apt/lists/*; install -d /home/runner/.cache/bun-install; chown -R runner:runner /home/runner # buildkit
ENV BUN_INSTALL_CACHE_DIR=/home/runner/.cache/bun-install
COPY --chmod=0755 entrypoint.sh /usr/local/bin/github-runner-entrypoint # buildkit
USER runner
WORKDIR /home/runner
ENTRYPOINT ["/usr/local/bin/github-runner-entrypoint"]
RUN /bin/sh -c ./bin/Runner.Listener --version && openssl version && jq --version && curl --version >/dev/null # buildkit
Details
Container
2026-10-27 14:56:09 +00:00
5
OCI / Docker
linux/arm64/v8
586 MiB
Versions (64) View all