after store-atomic-grades
This commit is contained in:
@@ -20,7 +20,7 @@ RUN printf 'deb http://archive.debian.org/debian bullseye main\ndeb http://archi
|
||||
# a managed interpreter — no compile, no apt, works even on archived buster) and make it the
|
||||
# default `python3`. Without this the agent's file editor can't load and every trial dies at
|
||||
# agent setup (NonZeroAgentExitCodeError). Independent of the repo's own runtime.
|
||||
RUN curl -fsSL https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=/usr/local/bin sh \
|
||||
RUN curl -fsSL https://astral.sh/uv/0.12.10/install.sh | env UV_INSTALL_DIR=/usr/local/bin sh \
|
||||
&& uv python install 3.10 \
|
||||
&& ln -sf "$(uv python find 3.10)" /usr/local/bin/python3 \
|
||||
&& python3 --version
|
||||
@@ -100,6 +100,10 @@ RUN git init && \
|
||||
# Install JS deps via npm (no yarn.lock committed).
|
||||
RUN npm install --no-audit --no-fund
|
||||
|
||||
# Fold the env-prep above into the baseline commit: tests/test.sh captures the agent's
|
||||
# work as the diff against it, so uncommitted setup edits ship as the agent's own.
|
||||
RUN git add -A && git commit --amend --no-edit --quiet
|
||||
|
||||
# Fail loudly if any load-bearing tool is missing.
|
||||
RUN for t in node npm claude; do \
|
||||
command -v "$t" >/dev/null 2>&1 || { echo "FATAL: required tool '$t' missing from image" >&2; exit 1; }; \
|
||||
|
||||
Reference in New Issue
Block a user