99# tooling, but keeps the initial agent surface focused on Codex + GitHub tooling
1010# for the gator-gate workflow.
1111
12- FROM public.ecr.aws/docker/library/node:22.23.4-bookworm-slim@sha256:5991875dfb80938dd8a6ba3fe3e96fd04929e70792762b3319d8caadbbe229bc AS node
13-
14- FROM public.ecr.aws/docker/library/ubuntu:24.04@sha256:68ee22004a9109b44973313b02ff7b1de250f1de0f5ecb628d73f579aaff33ac AS system
12+ FROM nvcr.io/nvidia/base/ubuntu:noble-20260917 AS system
1513
1614ENV DEBIAN_FRONTEND=noninteractive \
1715 PYTHONDONTWRITEBYTECODE=1 \
@@ -37,28 +35,27 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3735 openssh-sftp-server \
3836 procps \
3937 traceroute \
40- && dpkg --compare-versions "$(dpkg-query -W -f='${Version}' ca-certificates)" ge 20260816ubuntu0.24.04.1 \
4138 && rm -rf /var/lib/apt/lists/*
4239
4340RUN groupadd -r supervisor && useradd -r -g supervisor -s /usr/sbin/nologin supervisor && \
4441 groupadd -r sandbox && useradd -r -g sandbox -d /sandbox -s /bin/bash sandbox
4542
4643FROM system AS devtools
4744
48- COPY --from=node /usr/local/bin/node /usr/bin/node
49- COPY --from=node /usr/local/lib/node_modules/npm /usr/lib/node_modules/npm
50- COPY --from=node /usr/local/include/node /usr/include/node
51-
52- RUN apt-get update && apt-get install -y --no-install-recommends \
45+ # Node.js 22 + build toolchain. Keep the default apt installs aligned with the
46+ # workload, then add the small CLI tools gator commonly needs.
47+ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
48+ apt-get install -y --no-install-recommends \
5349 build-essential \
5450 git \
5551 jq \
5652 less \
53+ nodejs=22.23.4-1nodesource1 \
5754 ripgrep \
5855 vim-tiny \
5956 nano \
6057 && rm -rf /var/lib/apt/lists/* \
61- &&
node /usr/lib/node_modules/ npm
/bin/npm-cli.js install -g
[email protected] 58+ && npm install -g
[email protected] 6259
6360# GitHub CLI
6461RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
0 commit comments