Skip to content

Commit fe2ae0c

Browse files
sjarmakclaude
andcommitted
fix: generate Dockerfile.sg_only for 13 new tasks, fix eclipse-temurin tag
- Fix generate_sgonly_dockerfiles.py to discover tasks from on-disk benchmarks/ directories instead of relying solely on TASK_CATALOG.md - Remove stale rsync install from build-requiring template (wrapper already uses cp -a) - Generate 10 missing Dockerfile.sg_only (9 write-only, 1 build-req) - Regenerate 3 hand-crafted sg_only files with standard template (adds git init, /tmp/.sg_only_mode marker) - Fix eclipse-temurin:21-jdk-bookworm -> eclipse-temurin:21-jdk in docgen-inline-002 and test-coverage-gap-002 Dockerfiles - All 13 new tasks validated: Docker build + no-agent smoke pass Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 130b290 commit fe2ae0c

File tree

17 files changed

+421
-50
lines changed

17 files changed

+421
-50
lines changed
Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
1-
FROM ubuntu:22.04
1+
# docgen-changelog-001 — sg_only_env variant
2+
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
23

3-
RUN apt-get update && apt-get install -y \
4+
FROM golang:1.23-bookworm
5+
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN apt-get update && apt-get install -y --no-install-recommends \
9+
git \
10+
ca-certificates \
411
python3 \
5-
python3-pip \
612
curl \
7-
unzip \
813
&& rm -rf /var/lib/apt/lists/*
914

10-
RUN pip install --no-cache-dir pytest
11-
12-
RUN mkdir -p /workspace /logs/verifier /app
1315
WORKDIR /workspace
1416

17+
# Empty git repo so agent can commit work
18+
RUN git init && \
19+
git config user.email "agent@example.com" && \
20+
git config user.name "Agent"
21+
22+
RUN mkdir -p /logs/agent /logs/verifier
23+
24+
# Mark sg_only mode so verifiers can skip local-path checks
25+
RUN touch /tmp/.sg_only_mode
26+
1527
ENTRYPOINT []
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# docgen-changelog-002 — sg_only_env variant
2+
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3+
4+
FROM golang:1.23-bookworm
5+
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN apt-get update && apt-get install -y --no-install-recommends \
9+
git \
10+
ca-certificates \
11+
python3 \
12+
curl \
13+
&& rm -rf /var/lib/apt/lists/*
14+
15+
WORKDIR /workspace
16+
17+
# Empty git repo so agent can commit work
18+
RUN git init && \
19+
git config user.email "agent@example.com" && \
20+
git config user.name "Agent"
21+
22+
RUN mkdir -p /logs/agent /logs/verifier
23+
24+
# Mark sg_only mode so verifiers can skip local-path checks
25+
RUN touch /tmp/.sg_only_mode
26+
27+
ENTRYPOINT []
Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
1-
FROM ubuntu:22.04
1+
# docgen-inline-001 — sg_only_env variant
2+
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
23

3-
RUN apt-get update && apt-get install -y \
4+
FROM python:3.11-slim
5+
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN apt-get update && apt-get install -y --no-install-recommends \
9+
git \
10+
ca-certificates \
411
python3 \
5-
python3-pip \
612
curl \
7-
unzip \
813
&& rm -rf /var/lib/apt/lists/*
914

10-
RUN pip install --no-cache-dir pytest
11-
12-
RUN mkdir -p /workspace /logs/verifier /app
1315
WORKDIR /workspace
1416

17+
# Empty git repo so agent can commit work
18+
RUN git init && \
19+
git config user.email "agent@example.com" && \
20+
git config user.name "Agent"
21+
22+
RUN mkdir -p /logs/agent /logs/verifier
23+
24+
# Mark sg_only mode so verifiers can skip local-path checks
25+
RUN touch /tmp/.sg_only_mode
26+
1527
ENTRYPOINT []

benchmarks/ccb_document/docgen-inline-002/environment/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:21-jdk-bookworm
1+
FROM eclipse-temurin:21-jdk
22

33
WORKDIR /workspace
44

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
1-
FROM ubuntu:22.04
1+
# docgen-inline-002 — sg_only_env variant
2+
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
23

3-
RUN apt-get update && apt-get install -y \
4+
FROM eclipse-temurin:17-jdk
5+
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN apt-get update && apt-get install -y --no-install-recommends \
9+
git \
10+
ca-certificates \
411
python3 \
5-
python3-pip \
612
curl \
7-
unzip \
813
&& rm -rf /var/lib/apt/lists/*
914

10-
RUN pip install --no-cache-dir pytest
11-
12-
RUN mkdir -p /workspace /logs/verifier /app
1315
WORKDIR /workspace
1416

17+
# Empty git repo so agent can commit work
18+
RUN git init && \
19+
git config user.email "agent@example.com" && \
20+
git config user.name "Agent"
21+
22+
RUN mkdir -p /logs/agent /logs/verifier
23+
24+
# Mark sg_only mode so verifiers can skip local-path checks
25+
RUN touch /tmp/.sg_only_mode
26+
1527
ENTRYPOINT []
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# docgen-onboard-001 — sg_only_env variant
2+
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3+
4+
FROM golang:1.23-bookworm
5+
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN apt-get update && apt-get install -y --no-install-recommends \
9+
git \
10+
ca-certificates \
11+
python3 \
12+
curl \
13+
&& rm -rf /var/lib/apt/lists/*
14+
15+
WORKDIR /workspace
16+
17+
# Empty git repo so agent can commit work
18+
RUN git init && \
19+
git config user.email "agent@example.com" && \
20+
git config user.name "Agent"
21+
22+
RUN mkdir -p /logs/agent /logs/verifier
23+
24+
# Mark sg_only mode so verifiers can skip local-path checks
25+
RUN touch /tmp/.sg_only_mode
26+
27+
ENTRYPOINT []
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# docgen-runbook-001 — sg_only_env variant
2+
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3+
4+
FROM golang:1.23-bookworm
5+
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN apt-get update && apt-get install -y --no-install-recommends \
9+
git \
10+
ca-certificates \
11+
python3 \
12+
curl \
13+
&& rm -rf /var/lib/apt/lists/*
14+
15+
WORKDIR /workspace
16+
17+
# Empty git repo so agent can commit work
18+
RUN git init && \
19+
git config user.email "agent@example.com" && \
20+
git config user.name "Agent"
21+
22+
RUN mkdir -p /logs/agent /logs/verifier
23+
24+
# Mark sg_only mode so verifiers can skip local-path checks
25+
RUN touch /tmp/.sg_only_mode
26+
27+
ENTRYPOINT []
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# docgen-runbook-002 — sg_only_env variant
2+
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3+
4+
FROM ubuntu:22.04
5+
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN apt-get update && apt-get install -y --no-install-recommends \
9+
git \
10+
ca-certificates \
11+
python3 \
12+
curl \
13+
&& rm -rf /var/lib/apt/lists/*
14+
15+
WORKDIR /workspace
16+
17+
# Empty git repo so agent can commit work
18+
RUN git init && \
19+
git config user.email "agent@example.com" && \
20+
git config user.name "Agent"
21+
22+
RUN mkdir -p /logs/agent /logs/verifier
23+
24+
# Mark sg_only mode so verifiers can skip local-path checks
25+
RUN touch /tmp/.sg_only_mode
26+
27+
ENTRYPOINT []
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# test-coverage-gap-001 — sg_only_env variant
2+
# No local repo clone — agent uses Sourcegraph MCP exclusively for code access.
3+
4+
FROM ubuntu:22.04
5+
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
8+
RUN apt-get update && apt-get install -y --no-install-recommends \
9+
git \
10+
ca-certificates \
11+
python3 \
12+
curl \
13+
&& rm -rf /var/lib/apt/lists/*
14+
15+
WORKDIR /workspace
16+
17+
# Empty git repo so agent can commit work
18+
RUN git init && \
19+
git config user.email "agent@example.com" && \
20+
git config user.name "Agent"
21+
22+
RUN mkdir -p /logs/agent /logs/verifier
23+
24+
# Mark sg_only mode so verifiers can skip local-path checks
25+
RUN touch /tmp/.sg_only_mode
26+
27+
ENTRYPOINT []

benchmarks/ccb_test/test-coverage-gap-002/environment/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:21-jdk-bookworm
1+
FROM eclipse-temurin:21-jdk
22

33
WORKDIR /workspace
44

0 commit comments

Comments
 (0)