Skip to content

Commit 0173ce9

Browse files
sjarmakclaude
andcommitted
fix: repair broken multi-stage Dockerfile.sg_only for 3 protonmail tasks
The generator didn't handle multi-stage builds (FROM ... AS source / FROM node:...) or multi-line RUN continuations. Manually rebuild sg_only Dockerfiles preserving the multi-stage pattern and complete apt-get install command. Affected tasks: - protonmail-dropdown-sizing-fix-001 - protonmail-holiday-calendar-fix-001 - protonmail-conv-testhooks-fix-001 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1d846ac commit 0173ce9

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed

benchmarks/ccb_fix/protonmail-conv-testhooks-fix-001/environment/Dockerfile.sg_only

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
# protonmail-conv-testhooks-fix-001 — sg_only_env variant (v2: clone-at-verify)
22
# Source files truncated — agent uses Sourcegraph MCP for code access.
33
# Verifier clones mirror at verification time to restore source.
4+
#
5+
# Multi-stage rebuild: sweap-images for protonmail have corrupted system
6+
# binaries. Copy /app into a fresh Node.js base, then truncate source.
47

5-
FROM jefzda/sweap-images:protonmail.webclients-protonmail__webclients-c6f65d205c401350a226bb005f42fac1754b0b5b
8+
FROM jefzda/sweap-images:protonmail.webclients-protonmail__webclients-c6f65d205c401350a226bb005f42fac1754b0b5b AS source
69

7-
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/webclients--c6f65d20
10+
FROM node:16.20.2-bullseye
811

12+
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/webclients--c6f65d20
913

1014
RUN apt-get update && apt-get install -y --no-install-recommends \
15+
git jq python3 curl ca-certificates \
16+
&& rm -rf /var/lib/apt/lists/*
17+
18+
COPY --from=source /app /app
19+
1120
RUN curl -LsSf https://astral.sh/uv/0.7.13/install.sh | sh || true
1221
RUN mkdir -p /logs /workspace
1322

benchmarks/ccb_fix/protonmail-dropdown-sizing-fix-001/environment/Dockerfile.sg_only

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
# protonmail-dropdown-sizing-fix-001 — sg_only_env variant (v2: clone-at-verify)
22
# Source files truncated — agent uses Sourcegraph MCP for code access.
33
# Verifier clones mirror at verification time to restore source.
4+
#
5+
# Multi-stage rebuild: sweap-images for protonmail have corrupted system
6+
# binaries. Copy /app into a fresh Node.js base, then truncate source.
47

5-
FROM jefzda/sweap-images:protonmail.webclients-protonmail__webclients-8be4f6cb9380fcd2e67bcb18cef931ae0d4b869c
8+
FROM jefzda/sweap-images:protonmail.webclients-protonmail__webclients-8be4f6cb9380fcd2e67bcb18cef931ae0d4b869c AS source
69

7-
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/webclients--8be4f6cb
10+
FROM node:16.20.2-bullseye
811

12+
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/webclients--8be4f6cb
913

1014
RUN apt-get update && apt-get install -y --no-install-recommends \
15+
git jq python3 curl ca-certificates \
16+
&& rm -rf /var/lib/apt/lists/*
17+
18+
COPY --from=source /app /app
19+
1120
RUN curl -LsSf https://astral.sh/uv/0.7.13/install.sh | sh || true
1221
RUN mkdir -p /logs /workspace
1322

benchmarks/ccb_fix/protonmail-holiday-calendar-fix-001/environment/Dockerfile.sg_only

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
# protonmail-holiday-calendar-fix-001 — sg_only_env variant (v2: clone-at-verify)
22
# Source files truncated — agent uses Sourcegraph MCP for code access.
33
# Verifier clones mirror at verification time to restore source.
4+
#
5+
# Multi-stage rebuild: sweap-images for protonmail have corrupted system
6+
# binaries. Copy /app into a fresh Node.js base, then truncate source.
47

5-
FROM jefzda/sweap-images:protonmail.webclients-protonmail__webclients-369fd37de29c14c690cb3b1c09a949189734026f
8+
FROM jefzda/sweap-images:protonmail.webclients-protonmail__webclients-369fd37de29c14c690cb3b1c09a949189734026f AS source
69

7-
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/webclients--369fd37d
10+
FROM node:16.20.2-bullseye
811

12+
ENV SOURCEGRAPH_REPO_NAME=sg-benchmarks/webclients--369fd37d
913

1014
RUN apt-get update && apt-get install -y --no-install-recommends \
15+
git jq python3 curl ca-certificates \
16+
&& rm -rf /var/lib/apt/lists/*
17+
18+
COPY --from=source /app /app
19+
1120
RUN curl -LsSf https://astral.sh/uv/0.7.13/install.sh | sh || true
1221
RUN mkdir -p /logs /workspace
1322

0 commit comments

Comments
 (0)