Skip to content

Commit 2a2a372

Browse files
sjarmakclaude
andcommitted
fix: repair 11 more Dockerfiles — inline ccb-repo images, truncate Docker Hub tags, fix validation script
- Inline ccb-repo-* base images into task Dockerfiles (docgen-runbook-002, envoy-arch-doc-gen-001, curl-cve-triage-001, curl-vuln-reachability-001) using git init+fetch+checkout pattern with ca-certificates - Truncate openlibrary sweap-image tags to Docker Hub 128-char limit (fntocli-adapter, search-query, solr-boolean) - Remove -vnan suffix from nodebb-notif-dropdown tag - Remove broken Alpine apk upgrade block from 3 protonmail Dockerfiles (images still corrupted on Docker Hub — exec format error) - Regenerate Dockerfile.artifact_only for all 11 tasks - Fix validate_artifact_golden.py arg-too-long: use file-mount staging instead of base64-in-command injection Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c90e0cb commit 2a2a372

File tree

23 files changed

+170
-57
lines changed

23 files changed

+170
-57
lines changed
Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
FROM ccb-repo-envoy-1d0ba73a
1+
FROM ubuntu:22.04
2+
3+
WORKDIR /workspace
4+
5+
RUN apt-get update && apt-get install -y --no-install-recommends \
6+
git \
7+
curl \
8+
python3 \
9+
ripgrep \
10+
ca-certificates \
11+
&& rm -rf /var/lib/apt/lists/*
12+
13+
RUN git init && \
14+
git remote add origin https://github.com/envoyproxy/envoy.git && \
15+
git fetch --depth 1 origin 1d0ba73ad200d28e86c0c23f76c55320f82a8fba && \
16+
git checkout FETCH_HEAD && \
17+
git config user.email "agent@example.com" && \
18+
git config user.name "Agent"

benchmarks/ccb_document/docgen-runbook-002/environment/Dockerfile.artifact_only

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,24 @@
33
# MCP agent deletes source files at runtime via agent startup script.
44
# Verifier scores agent output only — no repo restore needed.
55

6-
FROM ccb-repo-envoy-1d0ba73a
6+
FROM ubuntu:22.04
7+
8+
WORKDIR /workspace
9+
10+
RUN apt-get update && apt-get install -y --no-install-recommends \
11+
git \
12+
curl \
13+
python3 \
14+
ripgrep \
15+
ca-certificates \
16+
&& rm -rf /var/lib/apt/lists/*
17+
18+
RUN git init && \
19+
git remote add origin https://github.com/envoyproxy/envoy.git && \
20+
git fetch --depth 1 origin 1d0ba73ad200d28e86c0c23f76c55320f82a8fba && \
21+
git checkout FETCH_HEAD && \
22+
git config user.email "agent@example.com" && \
23+
git config user.name "Agent"
724
# --- artifact_only mode ---
825
# Sentinel flag for artifact-based verification.
926
# Source stays readable for baseline agent; MCP agent deletes at runtime.
Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
FROM ccb-repo-envoy-1d0ba73a
1+
FROM ubuntu:22.04
2+
3+
WORKDIR /workspace
4+
5+
RUN apt-get update && apt-get install -y --no-install-recommends \
6+
git \
7+
curl \
8+
python3 \
9+
ripgrep \
10+
ca-certificates \
11+
&& rm -rf /var/lib/apt/lists/*
12+
13+
RUN git init && \
14+
git remote add origin https://github.com/envoyproxy/envoy.git && \
15+
git fetch --depth 1 origin 1d0ba73ad200d28e86c0c23f76c55320f82a8fba && \
16+
git checkout FETCH_HEAD && \
17+
git config user.email "agent@example.com" && \
18+
git config user.name "Agent"

benchmarks/ccb_document/envoy-arch-doc-gen-001/environment/Dockerfile.artifact_only

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,24 @@
33
# MCP agent deletes source files at runtime via agent startup script.
44
# Verifier scores agent output only — no repo restore needed.
55

6-
FROM ccb-repo-envoy-1d0ba73a
6+
FROM ubuntu:22.04
7+
8+
WORKDIR /workspace
9+
10+
RUN apt-get update && apt-get install -y --no-install-recommends \
11+
git \
12+
curl \
13+
python3 \
14+
ripgrep \
15+
ca-certificates \
16+
&& rm -rf /var/lib/apt/lists/*
17+
18+
RUN git init && \
19+
git remote add origin https://github.com/envoyproxy/envoy.git && \
20+
git fetch --depth 1 origin 1d0ba73ad200d28e86c0c23f76c55320f82a8fba && \
21+
git checkout FETCH_HEAD && \
22+
git config user.email "agent@example.com" && \
23+
git config user.name "Agent"
724
# --- artifact_only mode ---
825
# Sentinel flag for artifact-based verification.
926
# Source stays readable for baseline agent; MCP agent deletes at runtime.

benchmarks/ccb_fix/nodebb-notif-dropdown-fix-001/environment/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Instance: instance_NodeBB__NodeBB-eb49a64974ca844bca061744fb3383f5d13b02ad-vnan
33
# Repo: NodeBB/NodeBB
44

5-
FROM jefzda/sweap-images:nodebb.nodebb-NodeBB__NodeBB-eb49a64974ca844bca061744fb3383f5d13b02ad-vnan
5+
FROM jefzda/sweap-images:nodebb.nodebb-NodeBB__NodeBB-eb49a64974ca844bca061744fb3383f5d13b02ad
66

77
# Install uv for Python package management
88
RUN curl -LsSf https://astral.sh/uv/0.7.13/install.sh | sh || true

benchmarks/ccb_fix/nodebb-notif-dropdown-fix-001/environment/Dockerfile.artifact_only

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Instance: instance_NodeBB__NodeBB-eb49a64974ca844bca061744fb3383f5d13b02ad-vnan
88
# Repo: NodeBB/NodeBB
99

10-
FROM jefzda/sweap-images:nodebb.nodebb-NodeBB__NodeBB-eb49a64974ca844bca061744fb3383f5d13b02ad-vnan
10+
FROM jefzda/sweap-images:nodebb.nodebb-NodeBB__NodeBB-eb49a64974ca844bca061744fb3383f5d13b02ad
1111

1212
# Install uv for Python package management
1313
RUN curl -LsSf https://astral.sh/uv/0.7.13/install.sh | sh || true

benchmarks/ccb_fix/openlibrary-fntocli-adapter-fix-001/environment/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Instance: instance_internetarchive__openlibrary-c506c1b0b678892af5cb22c1c1dbc35d96787a0a-v0f5aece3601a5b4419f7ccec1dbda2071be28ee4
33
# Repo: internetarchive/openlibrary
44

5-
FROM jefzda/sweap-images:internetarchive.openlibrary-internetarchive__openlibrary-c506c1b0b678892af5cb22c1c1dbc35d96787a0a-v0f5aece3601a5b4419f7ccec1dbda2071be28ee4
5+
FROM jefzda/sweap-images:internetarchive.openlibrary-internetarchive__openlibrary-c506c1b0b678892af5cb22c1c1dbc35d96787a0a-v0f5aece3601a5b4419f7ccec1dbda
66

77
# Install uv for Python package management
88
RUN curl -LsSf https://astral.sh/uv/0.7.13/install.sh | sh || true

benchmarks/ccb_fix/openlibrary-fntocli-adapter-fix-001/environment/Dockerfile.artifact_only

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Instance: instance_internetarchive__openlibrary-c506c1b0b678892af5cb22c1c1dbc35d96787a0a-v0f5aece3601a5b4419f7ccec1dbda2071be28ee4
88
# Repo: internetarchive/openlibrary
99

10-
FROM jefzda/sweap-images:internetarchive.openlibrary-internetarchive__openlibrary-c506c1b0b678892af5cb22c1c1dbc35d96787a0a-v0f5aece3601a5b4419f7ccec1dbda2071be28ee4
10+
FROM jefzda/sweap-images:internetarchive.openlibrary-internetarchive__openlibrary-c506c1b0b678892af5cb22c1c1dbc35d96787a0a-v0f5aece3601a5b4419f7ccec1dbda
1111

1212
# Install uv for Python package management
1313
RUN curl -LsSf https://astral.sh/uv/0.7.13/install.sh | sh || true

benchmarks/ccb_fix/openlibrary-search-query-fix-001/environment/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Instance: instance_internetarchive__openlibrary-7f6b722a10f822171501d027cad60afe53337732-ve8c8d62a2b60610a3c4631f5f23ed866bada9818
33
# Repo: internetarchive/openlibrary
44

5-
FROM jefzda/sweap-images:internetarchive.openlibrary-internetarchive__openlibrary-7f6b722a10f822171501d027cad60afe53337732-ve8c8d62a2b60610a3c4631f5f23ed866bada9818
5+
FROM jefzda/sweap-images:internetarchive.openlibrary-internetarchive__openlibrary-7f6b722a10f822171501d027cad60afe53337732-ve8c8d62a2b60610a3c4631f5f23ed
66

77
# Install uv for Python package management
88
RUN curl -LsSf https://astral.sh/uv/0.7.13/install.sh | sh || true

benchmarks/ccb_fix/openlibrary-search-query-fix-001/environment/Dockerfile.artifact_only

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Instance: instance_internetarchive__openlibrary-7f6b722a10f822171501d027cad60afe53337732-ve8c8d62a2b60610a3c4631f5f23ed866bada9818
88
# Repo: internetarchive/openlibrary
99

10-
FROM jefzda/sweap-images:internetarchive.openlibrary-internetarchive__openlibrary-7f6b722a10f822171501d027cad60afe53337732-ve8c8d62a2b60610a3c4631f5f23ed866bada9818
10+
FROM jefzda/sweap-images:internetarchive.openlibrary-internetarchive__openlibrary-7f6b722a10f822171501d027cad60afe53337732-ve8c8d62a2b60610a3c4631f5f23ed
1111

1212
# Install uv for Python package management
1313
RUN curl -LsSf https://astral.sh/uv/0.7.13/install.sh | sh || true

0 commit comments

Comments
 (0)