ren worker folder adding orig, mv new one into root
This commit is contained in:
@@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
# 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
|
||||
@@ -99,6 +99,10 @@ RUN yarn install --frozen-lockfile --network-timeout 600000 \
|
||||
|| yarn install --network-timeout 600000 \
|
||||
|| echo "WARNING: dependency install failed (non-fatal) — source + toolchain still present" >&2
|
||||
|
||||
# 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 yarn 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