runner-images/rust-node-java (latest)
Published 2026-11-29 11:40:14 +08:00 by 谢勇
Installation
docker pull git.52xaa.com/devops/runner-images/rust-node-java:latestsha256:071ca5d3b947086a3df650039f8b602325301770c41e848be40272c824ac115b
About this package
Official docker images used by Gitea runner to run workflows.
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:54dafd97985c3ec227e2c96be9290657cf2ab456885b5fc8a24c9278bca65e60 in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget tzdata ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; apt-get dist-clean # buildkit |
| ARG TARGETARCH=amd64 |
| ARG BASE_IMAGE_TAG=24.04 |
| ARG NODE_VERSION=24 |
| ARG YQ_VERSION=v4.54.3 |
| ARG TEA_VERSION=0.16.0 |
| ARG GT_VERSION=2.0.0 |
| ARG ARCH_SUFFIX= |
| ENV DEBIAN_FRONTEND=noninteractive ImageOS=ubuntu24 IMAGE_OS=ubuntu24 LSB_RELEASE=24.04 AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache RUNNER_TOOL_CACHE=/opt/hostedtoolcache DEPLOYMENT_BASEPATH=/opt/runner USER=root RUNNER_USER=root PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/opt/pipx_bin PATH=/opt/pipx_bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| SHELL [/bin/bash -e -o pipefail -c] |
| RUN |7 TARGETARCH=amd64 BASE_IMAGE_TAG=24.04 NODE_VERSION=24 YQ_VERSION=v4.54.3 TEA_VERSION=0.16.0 GT_VERSION=2.0.0 ARCH_SUFFIX= /bin/bash -e -o pipefail -c echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries && apt-get update && apt-get install -y --no-install-recommends acl apt-transport-https aria2 bind9-dnsutils brotli ca-certificates curl gawk gnupg-agent iproute2 iputils-ping jq less libyaml-0-2 lsb-release lz4 net-tools netcat-openbsd p7zip-full parallel patchelf pigz pipx pkg-config python-is-python3 python3-dev python3-pip python3-venv rsync shellcheck software-properties-common sqlite3 ssh sshpass sudo time tree unzip wget xz-utils zip zstd && . /etc/os-release && add-apt-repository -y -n ppa:git-core/ppa && install -m 0755 -d /etc/apt/keyrings && curl -fsSL https://packagecloud.io/github/git-lfs/gpgkey -o /etc/apt/keyrings/git-lfs.asc && echo "deb [signed-by=/etc/apt/keyrings/git-lfs.asc] https://packagecloud.io/github/git-lfs/ubuntu/ ${VERSION_CODENAME} main" > /etc/apt/sources.list.d/git-lfs.list && curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && echo "deb [arch=${TARGETARCH} signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu ${VERSION_CODENAME} stable" > /etc/apt/sources.list.d/docker.list && apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends containerd.io docker-buildx-plugin docker-ce docker-ce-cli docker-compose-plugin git git-lfs && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/{git-core-*,git-lfs.list,docker.list} /etc/apt/trusted.gpg.d/git-core-* /etc/apt/keyrings/{git-lfs,docker}.asc && git config --system --add safe.directory '*' && { [[ "${BASE_IMAGE_TAG}" == 22.04 ]] || printf '[global]\nbreak-system-packages = true\n' > /etc/pip.conf; } && pipx install yamllint && chmod -R 777 /opt/pipx /opt/pipx_bin && rm -rf ~/.cache # buildkit |
| RUN |7 TARGETARCH=amd64 BASE_IMAGE_TAG=24.04 NODE_VERSION=24 YQ_VERSION=v4.54.3 TEA_VERSION=0.16.0 GT_VERSION=2.0.0 ARCH_SUFFIX= /bin/bash -e -o pipefail -c case "${TARGETARCH}" in amd64) node_arch=x64 ;; arm64) node_arch=arm64 ;; *) echo "unsupported architecture: ${TARGETARCH}" >&2; exit 1 ;; esac && cd /tmp && base_url="https://nodejs.org/dist/latest-v${NODE_VERSION}.x" && curl -fsSLO "${base_url}/SHASUMS256.txt" && tarball="$(grep -oE "node-v[0-9.]+-linux-${node_arch}\.tar\.xz$" SHASUMS256.txt)" && curl -fsSLO "${base_url}/${tarball}" && grep " ${tarball}\$" SHASUMS256.txt | sha256sum -c - && node_version="${tarball#node-v}" && node_version="${node_version%%-*}" && node_dir="/opt/hostedtoolcache/node/${node_version}/${node_arch}" && mkdir -p "${node_dir}" && tar -xJf "${tarball}" -C "${node_dir}" --strip-components=1 --no-same-owner && touch "${node_dir}.complete" && chmod 777 /opt/hostedtoolcache /opt/hostedtoolcache/node && cp -al "${node_dir}/bin" "${node_dir}/include" "${node_dir}/lib" "${node_dir}/share" /usr/local/ && rm "${tarball}" SHASUMS256.txt && node --version # buildkit |
| RUN |7 TARGETARCH=amd64 BASE_IMAGE_TAG=24.04 NODE_VERSION=24 YQ_VERSION=v4.54.3 TEA_VERSION=0.16.0 GT_VERSION=2.0.0 ARCH_SUFFIX= /bin/bash -e -o pipefail -c npm install -g yarn && rm -rf ~/.npm && yarn --version # buildkit |
| RUN |7 TARGETARCH=amd64 BASE_IMAGE_TAG=24.04 NODE_VERSION=24 YQ_VERSION=v4.54.3 TEA_VERSION=0.16.0 GT_VERSION=2.0.0 ARCH_SUFFIX= /bin/bash -e -o pipefail -c cd /tmp && base_url="https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}" && curl -fsSLO "${base_url}/yq_linux_${TARGETARCH}" && curl -fsSL "${base_url}/checksums-bsd" | grep "^SHA256 (yq_linux_${TARGETARCH})" | sha256sum -c - && install -m 0755 "yq_linux_${TARGETARCH}" /usr/bin/yq && rm "yq_linux_${TARGETARCH}" && yq --version # buildkit |
| RUN |7 TARGETARCH=amd64 BASE_IMAGE_TAG=24.04 NODE_VERSION=24 YQ_VERSION=v4.54.3 TEA_VERSION=0.16.0 GT_VERSION=2.0.0 ARCH_SUFFIX= /bin/bash -e -o pipefail -c cd /tmp && base_url="https://dl.gitea.com/tea/${TEA_VERSION}" && binary="tea-${TEA_VERSION}-linux-${TARGETARCH}" && curl -fsSLO "${base_url}/${binary}" && curl -fsSL "${base_url}/${binary}.sha256" | sha256sum -c - && install -m 0755 "${binary}" /usr/local/bin/tea && rm "${binary}" && tea --version # buildkit |
| RUN |7 TARGETARCH=amd64 BASE_IMAGE_TAG=24.04 NODE_VERSION=24 YQ_VERSION=v4.54.3 TEA_VERSION=0.16.0 GT_VERSION=2.0.0 ARCH_SUFFIX= /bin/bash -e -o pipefail -c cd /tmp && base_url="https://gitea.com/gitea/cli/releases/download/v${GT_VERSION}" && binary="gitea-cli-${GT_VERSION}-linux-${TARGETARCH}" && curl -fsSLO "${base_url}/${binary}" && curl -fsSL "${base_url}/checksums.txt" | grep -E " ${binary}$" | sha256sum -c - && install -m 0755 "${binary}" /usr/local/bin/gt && rm "${binary}" && gt --version # buildkit |
| RUN |7 TARGETARCH=amd64 BASE_IMAGE_TAG=24.04 NODE_VERSION=24 YQ_VERSION=v4.54.3 TEA_VERSION=0.16.0 GT_VERSION=2.0.0 ARCH_SUFFIX= /bin/bash -e -o pipefail -c mkdir -m 0777 -p /github && mkdir -m 0700 -p ~/.ssh && ssh-keyscan -t rsa,ecdsa,ed25519 github.com ssh.dev.azure.com >> /etc/ssh/ssh_known_hosts # buildkit |
| ARG IMAGE_CREATED=2026-11-25T04:20:49Z |
| ARG IMAGE_VERSION=v26.11.25 |
| ARG IMAGE_REVISION=ba8b8fde2d5df3d380658d39cf86b547b48b9d95 |
| ENV ImageVersion=v26.11.25 |
| LABEL org.opencontainers.image.created=2026-11-25T04:20:49Z org.opencontainers.image.authors=Gitea org.opencontainers.image.url=https://gitea.com/gitea/runner-images org.opencontainers.image.documentation=https://gitea.com/gitea/runner-images/src/branch/main/README.md org.opencontainers.image.source=https://gitea.com/gitea/runner-images org.opencontainers.image.version=v26.11.25 org.opencontainers.image.revision=ba8b8fde2d5df3d380658d39cf86b547b48b9d95 org.opencontainers.image.vendor=Gitea org.opencontainers.image.licenses=MIT org.opencontainers.image.title=Official Gitea Actions runner images org.opencontainers.image.description=Official docker images used by Gitea runner to run workflows. |
| USER root |
| SHELL [/bin/bash -o pipefail -c] |
| ARG NODE_MAJOR=22 |
| ENV DEBIAN_FRONTEND=noninteractive RUSTUP_HOME=/opt/rustup CARGO_HOME=/opt/cargo PATH=/opt/cargo/bin:/opt/pipx_bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |1 NODE_MAJOR=22 /bin/bash -o pipefail -c apt-get update && apt-get install -y --no-install-recommends build-essential ca-certificates curl git gnupg libssl-dev openjdk-21-jdk-headless pkg-config && mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.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 |1 NODE_MAJOR=22 /bin/bash -o pipefail -c curl --proto '=https' --tlsv1.2 -fsS https://sh.rustup.rs -o /tmp/rustup-init.sh && sh /tmp/rustup-init.sh -y --profile minimal --no-modify-path && rm /tmp/rustup-init.sh && chmod -R a+rX /opt/rustup /opt/cargo # buildkit |
| RUN |1 NODE_MAJOR=22 /bin/bash -o pipefail -c rustc --version && cargo --version && node --version && npm --version && java -version # buildkit |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.authors | Gitea |
| org.opencontainers.image.created | 2026-11-25T04:20:49Z |
| org.opencontainers.image.description | Official docker images used by Gitea runner to run workflows. |
| org.opencontainers.image.documentation | https://gitea.com/gitea/runner-images/src/branch/main/README.md |
| org.opencontainers.image.licenses | MIT |
| org.opencontainers.image.revision | ba8b8fde2d5df3d380658d39cf86b547b48b9d95 |
| org.opencontainers.image.source | https://gitea.com/gitea/runner-images |
| org.opencontainers.image.title | Official Gitea Actions runner images |
| org.opencontainers.image.url | https://gitea.com/gitea/runner-images |
| org.opencontainers.image.vendor | Gitea |
| org.opencontainers.image.version | v26.11.25 |
Details
2026-11-29 11:40:14 +08:00
Versions (15)
View all
Container
52
OCI / Docker
linux/amd64
Gitea
MIT
965 MiB
latest
2026-11-29
candidate-12228
2026-11-29
sha-87b60b2c54d0b7d194c1f4e3310d7f4bb4f7abe2
2026-11-29
buildcache
2026-11-29
candidate-11631
2026-11-15