• Joined on 2025-12-26

agent-platform-worker (source-ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642)

Published 2026-07-27 23:46:09 +00:00 by daniel

Installation

docker pull gitea.home.everyonce.com/daniel/agent-platform-worker:source-ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642
sha256:d1f8bc3a9f4e11727d07eafb4a3af72efe3a37167dd9331206bfae51d7613c36

About this package

Single immutable Codex toolchain for autonomous Gitea jobs

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:46ac5b8ee4c64ad9ebe840abd5619f571a617ac19483764d47d0eeba7907934f 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
ARG FROM_IMAGE TARGETARCH
ARG FROM_IMAGE FROM_TAG TARGETARCH
ARG FROM_IMAGE FROM_TAG NODE_VERSION TARGETARCH
ARG DISTRO FROM_IMAGE FROM_TAG NODE_VERSION TARGETARCH
ARG DISTRO FROM_IMAGE FROM_TAG NODE_VERSION TARGETARCH TYPE
ARG DISTRO FROM_IMAGE FROM_TAG NODE_VERSION RUNNER TARGETARCH TYPE
ENV DEBIAN_FRONTEND=noninteractive
SHELL [ "/bin/bash", "--login", "-e", "-o", "pipefail", "-c" ]
WORKDIR /tmp
COPY dir:5b6280ac48c48d01a24beadefcc7925797e30b58c4e23397b73e6ae12037177d in /imagegeneration/installers
|8 DISTRO=ubuntu FROM_IMAGE=buildpack-deps FROM_TAG=24.04 NODE_VERSION=20 24 RUNNER=root TARGETARCH=amd64 TYPE=act /bin/sh -c bash /imagegeneration/installers/${TYPE}.sh
ARG BUILD_DATE DISTRO FROM_IMAGE FROM_TAG NODE_VERSION RUNNER TARGETARCH TYPE
ARG BUILD_DATE BUILD_TAG DISTRO FROM_IMAGE FROM_TAG NODE_VERSION RUNNER TARGETARCH TYPE
ARG BUILD_DATE BUILD_REF BUILD_TAG DISTRO FROM_IMAGE FROM_TAG NODE_VERSION RUNNER TARGETARCH TYPE
ARG BUILD_DATE BUILD_REF BUILD_TAG BUILD_TAG_VERSION DISTRO FROM_IMAGE FROM_TAG NODE_VERSION RUNNER TARGETARCH TYPE
ARG BUILD_DATE BUILD_OWNER BUILD_REF BUILD_TAG BUILD_TAG_VERSION DISTRO FROM_IMAGE FROM_TAG NODE_VERSION RUNNER TARGETARCH TYPE
ARG BUILD_DATE BUILD_OWNER BUILD_REF BUILD_REPO BUILD_TAG BUILD_TAG_VERSION DISTRO FROM_IMAGE FROM_TAG NODE_VERSION RUNNER TARGETARCH TYPE
LABEL org.opencontainers.image.created="${BUILD_DATE}"
LABEL org.opencontainers.image.vendor="${BUILD_OWNER}"
LABEL org.opencontainers.image.authors="https://github.com/${BUILD_OWNER}"
LABEL org.opencontainers.image.url="https://github.com/${BUILD_OWNER}/${BUILD_REPO}/tree/${BUILD_REF}/linux/${DISTRO}/${TYPE}/"
LABEL org.opencontainers.image.source="https://github.com/${BUILD_OWNER}/${BUILD_REPO}"
LABEL org.opencontainers.image.documentation="https://github.com/${BUILD_OWNER}/${BUILD_REPO}"
LABEL org.opencontainers.image.version="${BUILD_TAG_VERSION}"
LABEL org.opencontainers.image.title="${BUILD_TAG}-${TARGETARCH}"
LABEL org.opencontainers.image.description="Special image built for using with https://github.com/nektos/act"
LABEL org.opencontainers.image.revision="${BUILD_REF}"
USER ${RUNNER}
/bin/bash --login -e -o pipefail -c
ARG IMAGE_CREATED=2026-07-01T00:05:07Z
ARG IMAGE_VERSION=v26.07.01
ARG IMAGE_REVISION=657bc507fbf45ffb47a1a0f80c6c1bc822171c87
LABEL org.opencontainers.image.created=2026-07-01T00:05:07Z 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.07.01 org.opencontainers.image.revision=657bc507fbf45ffb47a1a0f80c6c1bc822171c87 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.
ARG CODEX_VERSION=0.145.0
ARG PNPM_VERSION=11.1.2
ARG RUST_VERSION=1.96.0
ARG PLAYWRIGHT_VERSION=1.61.1
ARG SOURCE_REVISION=ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642
ENV CARGO_HOME=/usr/local/cargo RUSTUP_HOME=/usr/local/rustup PLAYWRIGHT_BROWSERS_PATH=/ms-playwright PATH=/usr/local/cargo/bin:/opt/acttoolcache/node/24.18.0/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY /usr/local/cargo /usr/local/cargo # buildkit
COPY /usr/local/rustup /usr/local/rustup # buildkit
RUN |5 CODEX_VERSION=0.145.0 PNPM_VERSION=11.1.2 RUST_VERSION=1.96.0 PLAYWRIGHT_VERSION=1.61.1 SOURCE_REVISION=ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642 /bin/bash --login -e -o pipefail -c apt-get update && apt-get install --yes --no-install-recommends bubblewrap ca-certificates clang cmake libsqlite3-dev libssl-dev lld ninja-build ripgrep && rm -rf /var/lib/apt/lists/* # buildkit
RUN |5 CODEX_VERSION=0.145.0 PNPM_VERSION=11.1.2 RUST_VERSION=1.96.0 PLAYWRIGHT_VERSION=1.61.1 SOURCE_REVISION=ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642 /bin/bash --login -e -o pipefail -c rustup default "${RUST_VERSION}" && rustup component add --toolchain "${RUST_VERSION}" clippy rustfmt && test "$(rustc --version | awk '{print $2}')" = "${RUST_VERSION}" && chown -R root:root "${CARGO_HOME}" "${RUSTUP_HOME}" && chmod -R go-w "${CARGO_HOME}" "${RUSTUP_HOME}" && test -z "$(find "${CARGO_HOME}" "${RUSTUP_HOME}" ! -type l \( ! -user root -o ! -group root -o -perm /022 \) -print -quit)" # buildkit
RUN |5 CODEX_VERSION=0.145.0 PNPM_VERSION=11.1.2 RUST_VERSION=1.96.0 PLAYWRIGHT_VERSION=1.61.1 SOURCE_REVISION=ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642 /bin/bash --login -e -o pipefail -c npm install --global --prefix /usr/local --no-audit --no-fund "@openai/codex@${CODEX_VERSION}" "pnpm@${PNPM_VERSION}" && npm cache clean --force && test "$(codex --version | awk '{print $2}')" = "${CODEX_VERSION}" && test "$(pnpm --version)" = "${PNPM_VERSION}" # buildkit
RUN |5 CODEX_VERSION=0.145.0 PNPM_VERSION=11.1.2 RUST_VERSION=1.96.0 PLAYWRIGHT_VERSION=1.61.1 SOURCE_REVISION=ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642 /bin/bash --login -e -o pipefail -c npx --yes "playwright@${PLAYWRIGHT_VERSION}" install --with-deps chromium firefox webkit && npm cache clean --force && chown -R root:root "${PLAYWRIGHT_BROWSERS_PATH}" && chmod -R a+rX,go-w "${PLAYWRIGHT_BROWSERS_PATH}" && for trusted_node_path in /opt /opt/acttoolcache /opt/acttoolcache/node /opt/acttoolcache/node/24.18.0 /opt/acttoolcache/node/24.18.0/x64; do test -d "${trusted_node_path}" && test ! -L "${trusted_node_path}" && chown root:root "${trusted_node_path}" && chmod 0755 "${trusted_node_path}" || exit 1; done && chown -R root:root /opt/acttoolcache/node/24.18.0/x64 /usr/local/lib/node_modules && chmod -R go-w /opt/acttoolcache/node/24.18.0/x64 /usr/local/lib/node_modules && test -z "$(find /opt/acttoolcache/node/24.18.0/x64 /usr/local/lib/node_modules ! -type l \( ! -user root -o ! -group root -o -perm /022 \) -print -quit)" # buildkit
RUN |5 CODEX_VERSION=0.145.0 PNPM_VERSION=11.1.2 RUST_VERSION=1.96.0 PLAYWRIGHT_VERSION=1.61.1 SOURCE_REVISION=ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642 /bin/bash --login -e -o pipefail -c groupadd --gid 10001 codex && useradd --uid 10001 --gid 10001 --create-home --home-dir /home/codex --shell /bin/bash codex && install -d -o root -g root -m 0755 /etc/codex /opt/codex-worker && install -d -o codex -g codex -m 0755 /workspace && install -d -o codex -g codex -m 0700 /cache /cache/cargo /cache/pnpm && printf '%s\n' "CODEX_VERSION=${CODEX_VERSION}" "PNPM_VERSION=${PNPM_VERSION}" "RUST_VERSION=${RUST_VERSION}" "PLAYWRIGHT_VERSION=${PLAYWRIGHT_VERSION}" "SOURCE_REVISION=${SOURCE_REVISION}" > /opt/codex-worker/versions.env && chmod 0444 /opt/codex-worker/versions.env # buildkit
COPY config.toml /etc/codex/config.toml # buildkit
COPY model-catalog.json /etc/codex/model-catalog.json # buildkit
COPY requirements.toml /etc/codex/requirements.toml # buildkit
COPY codex-worker-doctor /usr/local/bin/codex-worker-doctor # buildkit
COPY codex-worker-run /usr/local/bin/codex-worker-run # buildkit
RUN |5 CODEX_VERSION=0.145.0 PNPM_VERSION=11.1.2 RUST_VERSION=1.96.0 PLAYWRIGHT_VERSION=1.61.1 SOURCE_REVISION=ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642 /bin/bash --login -e -o pipefail -c chown root:root /etc/codex/config.toml /etc/codex/model-catalog.json /etc/codex/requirements.toml /usr/local/bin/codex-worker-doctor /usr/local/bin/codex-worker-run && chmod 0444 /etc/codex/config.toml /etc/codex/model-catalog.json /etc/codex/requirements.toml && chmod 0755 /usr/local/bin/codex-worker-doctor /usr/local/bin/codex-worker-run && test ! -e /home/codex/.codex/auth.json # buildkit
LABEL org.opencontainers.image.title=Agent Platform Codex Worker org.opencontainers.image.description=Single immutable Codex toolchain for autonomous Gitea jobs org.opencontainers.image.source=https://gitea.home.everyonce.com/daniel/agent-platform org.opencontainers.image.revision=ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642 io.everyonce.codex.version=0.145.0 io.everyonce.pnpm.version=11.1.2 io.everyonce.rust.version=1.96.0 io.everyonce.playwright.version=1.61.1
WORKDIR /workspace
USER 10001:10001
ENV HOME=/home/codex CARGO_HOME=/cache/cargo PNPM_HOME=/cache/pnpm PATH=/usr/local/cargo/bin:/opt/acttoolcache/node/24.18.0/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |5 CODEX_VERSION=0.145.0 PNPM_VERSION=11.1.2 RUST_VERSION=1.96.0 PLAYWRIGHT_VERSION=1.61.1 SOURCE_REVISION=ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642 /bin/bash --login -e -o pipefail -c codex-worker-doctor --build-verification # buildkit
CMD ["/bin/bash"]

Labels

Key Value
io.buildah.version 1.35.0
io.everyonce.codex.version 0.145.0
io.everyonce.playwright.version 1.61.1
io.everyonce.pnpm.version 11.1.2
io.everyonce.rust.version 1.96.0
org.opencontainers.image.authors Gitea
org.opencontainers.image.created 2026-07-01T00:05:07Z
org.opencontainers.image.description Single immutable Codex toolchain for autonomous Gitea jobs
org.opencontainers.image.documentation https://gitea.com/gitea/runner-images/src/branch/main/README.md
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision ce2dc7f95ee6eb1ab17a5d1090f13fe18b94d642
org.opencontainers.image.source https://gitea.home.everyonce.com/daniel/agent-platform
org.opencontainers.image.title Agent Platform Codex Worker
org.opencontainers.image.url https://gitea.com/gitea/runner-images
org.opencontainers.image.vendor Gitea
org.opencontainers.image.version v26.07.01