act_runner (sha256:c982c513b50a8038d6b01641662926563e2c86a58cbe6eb90fb78eec61e4f717)

Published 2024-11-12 10:32:45 +08:00 by wolfogre

Installation

docker pull gitea.cn/gitea/act_runner@sha256:c982c513b50a8038d6b01641662926563e2c86a58cbe6eb90fb78eec61e4f717
sha256:c982c513b50a8038d6b01641662926563e2c86a58cbe6eb90fb78eec61e4f717

Image Layers

ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache ca-certificates openssh-client git # buildkit
RUN /bin/sh -c [ -e /etc/nsswitch.conf ] && grep '^hosts: files dns' /etc/nsswitch.conf # buildkit
RUN /bin/sh -c set -eux; addgroup -g 2375 -S docker # buildkit
ENV DOCKER_VERSION=27.3.1
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') url='https://download.docker.com/linux/static/stable/x86_64/docker-27.3.1.tgz'; ;; 'armhf') url='https://download.docker.com/linux/static/stable/armel/docker-27.3.1.tgz'; ;; 'armv7') url='https://download.docker.com/linux/static/stable/armhf/docker-27.3.1.tgz'; ;; 'aarch64') url='https://download.docker.com/linux/static/stable/aarch64/docker-27.3.1.tgz'; ;; *) echo >&2 "error: unsupported 'docker.tgz' architecture ($apkArch)"; exit 1 ;; esac; wget -O 'docker.tgz' "$url"; tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ --no-same-owner 'docker/docker' ; rm docker.tgz; docker --version # buildkit
ENV DOCKER_BUILDX_VERSION=0.18.0
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') url='https://github.com/docker/buildx/releases/download/v0.18.0/buildx-v0.18.0.linux-amd64'; sha256='4fe2eb90ac22b27fa03734899fcf814aa1e214a4952b9b30b20d551baf1d9a5c'; ;; 'armhf') url='https://github.com/docker/buildx/releases/download/v0.18.0/buildx-v0.18.0.linux-arm-v6'; sha256='f438c1845f515b7deda0d7f325752f5652f2206a34ab2fff611f8a8717fb8907'; ;; 'armv7') url='https://github.com/docker/buildx/releases/download/v0.18.0/buildx-v0.18.0.linux-arm-v7'; sha256='606e449ac112615e0bffe6c433e59e84145e6963119ea397227381b86da3a880'; ;; 'aarch64') url='https://github.com/docker/buildx/releases/download/v0.18.0/buildx-v0.18.0.linux-arm64'; sha256='da9742321bb462547ebde69bf8420ac07b2a2c80fb57260f539bfc9f312becd6'; ;; 'ppc64le') url='https://github.com/docker/buildx/releases/download/v0.18.0/buildx-v0.18.0.linux-ppc64le'; sha256='ef63b95d022c53b41b2404aef7ca77c2e775f2be63566d2af00260ed13c51984'; ;; 'riscv64') url='https://github.com/docker/buildx/releases/download/v0.18.0/buildx-v0.18.0.linux-riscv64'; sha256='49dd68603c992b6755fc7c8a7762fbbe689f2aca97a55a513c978e02582f9a81'; ;; 's390x') url='https://github.com/docker/buildx/releases/download/v0.18.0/buildx-v0.18.0.linux-s390x'; sha256='f4a69adac9a2734ab191c29529f54012b289884b626d75baa3cf0471b0241f58'; ;; *) echo >&2 "warning: unsupported 'docker-buildx' architecture ($apkArch); skipping"; exit 0 ;; esac; wget -O 'docker-buildx' "$url"; echo "$sha256 *"'docker-buildx' | sha256sum -c -; plugin='/usr/local/libexec/docker/cli-plugins/docker-buildx'; mkdir -p "$(dirname "$plugin")"; mv -vT 'docker-buildx' "$plugin"; chmod +x "$plugin"; docker buildx version # buildkit
ENV DOCKER_COMPOSE_VERSION=2.30.2
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') url='https://github.com/docker/compose/releases/download/v2.30.2/docker-compose-linux-x86_64'; sha256='64b798329464b7553bdf4706c5fb1a97dc9504b360f29d30479ac126017d3944'; ;; 'armhf') url='https://github.com/docker/compose/releases/download/v2.30.2/docker-compose-linux-armv6'; sha256='a22f58dfc94fd1f8e86dee81e1378ae648c14a3bf0604d3a5434b53650619140'; ;; 'armv7') url='https://github.com/docker/compose/releases/download/v2.30.2/docker-compose-linux-armv7'; sha256='9fb8f299c55451c08ea04dd7770fd698f45e31ab12df99dd582f0fa0984f5364'; ;; 'aarch64') url='https://github.com/docker/compose/releases/download/v2.30.2/docker-compose-linux-aarch64'; sha256='2c7c902a845288c5733f6d13910ef65e17283f25b3519dee704d6d74de2ec78b'; ;; 'ppc64le') url='https://github.com/docker/compose/releases/download/v2.30.2/docker-compose-linux-ppc64le'; sha256='a3778d98118d408620eeed110a9bf85c77460601384899566293e8e90e21e206'; ;; 'riscv64') url='https://github.com/docker/compose/releases/download/v2.30.2/docker-compose-linux-riscv64'; sha256='9d3215288f9e9626c4e720576582fedbb4dfa3c728e53e3bb7151eca0251fa5c'; ;; 's390x') url='https://github.com/docker/compose/releases/download/v2.30.2/docker-compose-linux-s390x'; sha256='797f3d346f53ffc751eb0bebc9c8f610503bdea84ec993d00ee15e77ed2f0eb9'; ;; *) echo >&2 "warning: unsupported 'docker-compose' architecture ($apkArch); skipping"; exit 0 ;; esac; wget -O 'docker-compose' "$url"; echo "$sha256 *"'docker-compose' | sha256sum -c -; plugin='/usr/local/libexec/docker/cli-plugins/docker-compose'; mkdir -p "$(dirname "$plugin")"; mv -vT 'docker-compose' "$plugin"; chmod +x "$plugin"; ln -sv "$plugin" /usr/local/bin/; docker-compose --version; docker compose version # buildkit
COPY modprobe.sh /usr/local/bin/modprobe # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
ENV DOCKER_TLS_CERTDIR=/certs
RUN /bin/sh -c mkdir /certs /certs/client && chmod 1777 /certs /certs/client # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["sh"]
RUN /bin/sh -c set -eux; apk add --no-cache btrfs-progs e2fsprogs e2fsprogs-extra git ip6tables iptables openssl pigz shadow-uidmap xfsprogs xz zfs ; # buildkit
RUN /bin/sh -c set -eux; apk add --no-cache iptables-legacy; mkdir -p /usr/local/sbin/.iptables-legacy; for f in iptables iptables-save iptables-restore ip6tables ip6tables-save ip6tables-restore ; do b="/sbin/${f/tables/tables-legacy}"; "$b" --version; ln -svT "$b" "/usr/local/sbin/.iptables-legacy/$f"; done; export PATH="/usr/local/sbin/.iptables-legacy:$PATH"; iptables --version | grep legacy # buildkit
RUN /bin/sh -c set -eux; addgroup -S dockremap; adduser -S -G dockremap dockremap; echo 'dockremap:165536:65536' >> /etc/subuid; echo 'dockremap:165536:65536' >> /etc/subgid # buildkit
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') url='https://download.docker.com/linux/static/stable/x86_64/docker-27.3.1.tgz'; ;; 'armhf') url='https://download.docker.com/linux/static/stable/armel/docker-27.3.1.tgz'; ;; 'armv7') url='https://download.docker.com/linux/static/stable/armhf/docker-27.3.1.tgz'; ;; 'aarch64') url='https://download.docker.com/linux/static/stable/aarch64/docker-27.3.1.tgz'; ;; *) echo >&2 "error: unsupported 'docker.tgz' architecture ($apkArch)"; exit 1 ;; esac; wget -O 'docker.tgz' "$url"; tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ --no-same-owner --exclude 'docker/docker' ; rm docker.tgz; dockerd --version; containerd --version; ctr --version; runc --version # buildkit
ENV DIND_COMMIT=65cfcc28ab37cb75e1560e4b4738719c07c6618e
RUN /bin/sh -c set -eux; wget -O /usr/local/bin/dind "https://raw.githubusercontent.com/docker/docker/${DIND_COMMIT}/hack/dind"; chmod +x /usr/local/bin/dind # buildkit
COPY dockerd-entrypoint.sh /usr/local/bin/ # buildkit
VOLUME [/var/lib/docker]
EXPOSE map[2375/tcp:{} 2376/tcp:{}]
ENTRYPOINT ["dockerd-entrypoint.sh"]
CMD []
RUN /bin/sh -c apk add --no-cache s6 bash git # buildkit
COPY /opt/src/act_runner/act_runner /usr/local/bin/act_runner # buildkit
COPY scripts/run.sh /usr/local/bin/run.sh # buildkit
COPY scripts/s6 /etc/s6 # buildkit
VOLUME [/data]
ENTRYPOINT ["s6-svscan" "/etc/s6"]
Details
Container
2024-11-12 10:32:45 +08:00
2
OCI / Docker
linux/amd64
136 MiB
Versions (1) View all
nightly-dind 2024-11-12