Skip to content

Commit f50a8de

Browse files
committed
feat: all 283 tasks Daytona-ready (100%)
Inline Linux kernel source clone into 5 ccb_debug task Dockerfiles, eliminating the pre-built ccb-linux-base dependency. Each Dockerfile now clones directly from kernel.org/torvalds with stable/mainline fallback. Fix FROM parser in build_daytona_registry.py to: - Skip FROM-like lines inside heredoc blocks (was misidentifying django.dispatch.registry as a Docker image) - Filter out multi-stage build aliases (FROM base AS final) This brings the benchmark from 274/283 (96.8%) to 283/283 (100%).
1 parent 1640af1 commit f50a8de

File tree

12 files changed

+247
-185
lines changed

12 files changed

+247
-185
lines changed
Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
# Pre-built base image contains gcc:13, python3, tools, and the
2-
# Linux kernel source at v5.6.7. Build it first if missing:
3-
# ./scripts/build_linux_base_images.sh v5.6.7
4-
FROM ccb-linux-base:v5.6.7
1+
FROM gcc:13
52

6-
# Tests are uploaded at runtime by Harbor verifier to /tests/
7-
# No additional build steps needed — base image has everything.
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
python3 python3-pip git curl ca-certificates \
5+
gawk bc bison flex libssl-dev libelf-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
WORKDIR /workspace
9+
10+
# Shallow clone Linux kernel at v5.6.7.
11+
# Try stable tree first, fall back to mainline for release candidates.
12+
RUN (git clone --depth 1 --branch v5.6.7 --no-tags \
13+
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . \
14+
|| git clone --depth 1 --branch v5.6.7 --no-tags \
15+
https://github.com/torvalds/linux.git .) && \
16+
git config user.email "agent@example.com" && \
17+
git config user.name "Agent"
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
# linux-acpi-backlight-fault-001 — artifact_only variant (write-only)
2-
# Repos cloned for baseline agent to read locally.
3-
# MCP agent deletes source files at runtime via agent startup script.
4-
# Verifier scores agent output only — no repo restore needed.
1+
FROM gcc:13
52

6-
# Pre-built base image contains gcc:13, tools, Claude Code CLI, and the
7-
# Linux kernel source at v5.6.7. Build it first if missing:
8-
# ./benchmarks/ccb_linuxflbench/base_images/build_base_images.sh v5.6.7
9-
# See benchmarks/ccb_linuxflbench/README.md for details.
10-
FROM ccb-linux-base:v5.6.7
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
python3 python3-pip git curl ca-certificates \
5+
gawk bc bison flex libssl-dev libelf-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
WORKDIR /workspace
9+
10+
# Shallow clone Linux kernel at v5.6.7.
11+
# Try stable tree first, fall back to mainline for release candidates.
12+
RUN (git clone --depth 1 --branch v5.6.7 --no-tags \
13+
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . \
14+
|| git clone --depth 1 --branch v5.6.7 --no-tags \
15+
https://github.com/torvalds/linux.git .) && \
16+
git config user.email "agent@example.com" && \
17+
git config user.name "Agent"
1118

12-
# Tests are uploaded at runtime by Harbor verifier to /tests/
13-
# No additional build steps needed — base image has everything.
14-
# --- artifact_only mode ---
15-
# Sentinel flag for artifact-based verification.
16-
# Source stays readable for baseline agent; MCP agent deletes at runtime.
1719
RUN touch /tmp/.artifact_only_mode
1820

1921
ENTRYPOINT []
Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
# Pre-built base image contains gcc:13, python3, tools, and the
2-
# Linux kernel source at v3.7.6. Build it first if missing:
3-
# ./scripts/build_linux_base_images.sh v3.7.6
4-
FROM ccb-linux-base:v3.7.6
1+
FROM gcc:13
52

6-
# Tests are uploaded at runtime by Harbor verifier to /tests/
7-
# No additional build steps needed — base image has everything.
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
python3 python3-pip git curl ca-certificates \
5+
gawk bc bison flex libssl-dev libelf-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
WORKDIR /workspace
9+
10+
# Shallow clone Linux kernel at v3.7.6.
11+
# Try stable tree first, fall back to mainline for release candidates.
12+
RUN (git clone --depth 1 --branch v3.7.6 --no-tags \
13+
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . \
14+
|| git clone --depth 1 --branch v3.7.6 --no-tags \
15+
https://github.com/torvalds/linux.git .) && \
16+
git config user.email "agent@example.com" && \
17+
git config user.name "Agent"
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
# linux-hda-intel-suspend-fault-001 — artifact_only variant (write-only)
2-
# Repos cloned for baseline agent to read locally.
3-
# MCP agent deletes source files at runtime via agent startup script.
4-
# Verifier scores agent output only — no repo restore needed.
1+
FROM gcc:13
52

6-
# Pre-built base image contains gcc:13, tools, Claude Code CLI, and the
7-
# Linux kernel source at v3.7.6. Build it first if missing:
8-
# ./benchmarks/ccb_linuxflbench/base_images/build_base_images.sh v3.7.6
9-
# See benchmarks/ccb_linuxflbench/README.md for details.
10-
FROM ccb-linux-base:v3.7.6
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
python3 python3-pip git curl ca-certificates \
5+
gawk bc bison flex libssl-dev libelf-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
WORKDIR /workspace
9+
10+
# Shallow clone Linux kernel at v3.7.6.
11+
# Try stable tree first, fall back to mainline for release candidates.
12+
RUN (git clone --depth 1 --branch v3.7.6 --no-tags \
13+
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . \
14+
|| git clone --depth 1 --branch v3.7.6 --no-tags \
15+
https://github.com/torvalds/linux.git .) && \
16+
git config user.email "agent@example.com" && \
17+
git config user.name "Agent"
1118

12-
# Tests are uploaded at runtime by Harbor verifier to /tests/
13-
# No additional build steps needed — base image has everything.
14-
# --- artifact_only mode ---
15-
# Sentinel flag for artifact-based verification.
16-
# Source stays readable for baseline agent; MCP agent deletes at runtime.
1719
RUN touch /tmp/.artifact_only_mode
1820

1921
ENTRYPOINT []
Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
# Pre-built base image contains gcc:13, python3, tools, and the
2-
# Linux kernel source at v5.6-rc2. Build it first if missing:
3-
# ./scripts/build_linux_base_images.sh v5.6-rc2
4-
FROM ccb-linux-base:v5.6-rc2
1+
FROM gcc:13
52

6-
# Tests are uploaded at runtime by Harbor verifier to /tests/
7-
# No additional build steps needed — base image has everything.
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
python3 python3-pip git curl ca-certificates \
5+
gawk bc bison flex libssl-dev libelf-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
WORKDIR /workspace
9+
10+
# Shallow clone Linux kernel at v5.6-rc2.
11+
# Try stable tree first, fall back to mainline for release candidates.
12+
RUN (git clone --depth 1 --branch v5.6-rc2 --no-tags \
13+
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . \
14+
|| git clone --depth 1 --branch v5.6-rc2 --no-tags \
15+
https://github.com/torvalds/linux.git .) && \
16+
git config user.email "agent@example.com" && \
17+
git config user.name "Agent"
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
# linux-iwlwifi-subdevice-fault-001 — artifact_only variant (write-only)
2-
# Repos cloned for baseline agent to read locally.
3-
# MCP agent deletes source files at runtime via agent startup script.
4-
# Verifier scores agent output only — no repo restore needed.
1+
FROM gcc:13
52

6-
# Pre-built base image contains gcc:13, tools, Claude Code CLI, and the
7-
# Linux kernel source at v5.6-rc2. Build it first if missing:
8-
# ./benchmarks/ccb_linuxflbench/base_images/build_base_images.sh v5.6-rc2
9-
# See benchmarks/ccb_linuxflbench/README.md for details.
10-
FROM ccb-linux-base:v5.6-rc2
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
python3 python3-pip git curl ca-certificates \
5+
gawk bc bison flex libssl-dev libelf-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
WORKDIR /workspace
9+
10+
# Shallow clone Linux kernel at v5.6-rc2.
11+
# Try stable tree first, fall back to mainline for release candidates.
12+
RUN (git clone --depth 1 --branch v5.6-rc2 --no-tags \
13+
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . \
14+
|| git clone --depth 1 --branch v5.6-rc2 --no-tags \
15+
https://github.com/torvalds/linux.git .) && \
16+
git config user.email "agent@example.com" && \
17+
git config user.name "Agent"
1118

12-
# Tests are uploaded at runtime by Harbor verifier to /tests/
13-
# No additional build steps needed — base image has everything.
14-
# --- artifact_only mode ---
15-
# Sentinel flag for artifact-based verification.
16-
# Source stays readable for baseline agent; MCP agent deletes at runtime.
1719
RUN touch /tmp/.artifact_only_mode
1820

1921
ENTRYPOINT []
Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
# Pre-built base image contains gcc:13, python3, tools, and the
2-
# Linux kernel source at v4.1.15. Build it first if missing:
3-
# ./scripts/build_linux_base_images.sh v4.1.15
4-
FROM ccb-linux-base:v4.1.15
1+
FROM gcc:13
52

6-
# Tests are uploaded at runtime by Harbor verifier to /tests/
7-
# No additional build steps needed — base image has everything.
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
python3 python3-pip git curl ca-certificates \
5+
gawk bc bison flex libssl-dev libelf-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
WORKDIR /workspace
9+
10+
# Shallow clone Linux kernel at v4.1.15.
11+
# Try stable tree first, fall back to mainline for release candidates.
12+
RUN (git clone --depth 1 --branch v4.1.15 --no-tags \
13+
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . \
14+
|| git clone --depth 1 --branch v4.1.15 --no-tags \
15+
https://github.com/torvalds/linux.git .) && \
16+
git config user.email "agent@example.com" && \
17+
git config user.name "Agent"
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
# linux-nfs-inode-revalidate-fault-001 — artifact_only variant (write-only)
2-
# Repos cloned for baseline agent to read locally.
3-
# MCP agent deletes source files at runtime via agent startup script.
4-
# Verifier scores agent output only — no repo restore needed.
1+
FROM gcc:13
52

6-
# Pre-built base image contains gcc:13, tools, Claude Code CLI, and the
7-
# Linux kernel source at v4.1.15. Build it first if missing:
8-
# ./benchmarks/ccb_linuxflbench/base_images/build_base_images.sh v4.1.15
9-
# See benchmarks/ccb_linuxflbench/README.md for details.
10-
FROM ccb-linux-base:v4.1.15
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
python3 python3-pip git curl ca-certificates \
5+
gawk bc bison flex libssl-dev libelf-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
WORKDIR /workspace
9+
10+
# Shallow clone Linux kernel at v4.1.15.
11+
# Try stable tree first, fall back to mainline for release candidates.
12+
RUN (git clone --depth 1 --branch v4.1.15 --no-tags \
13+
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . \
14+
|| git clone --depth 1 --branch v4.1.15 --no-tags \
15+
https://github.com/torvalds/linux.git .) && \
16+
git config user.email "agent@example.com" && \
17+
git config user.name "Agent"
1118

12-
# Tests are uploaded at runtime by Harbor verifier to /tests/
13-
# No additional build steps needed — base image has everything.
14-
# --- artifact_only mode ---
15-
# Sentinel flag for artifact-based verification.
16-
# Source stays readable for baseline agent; MCP agent deletes at runtime.
1719
RUN touch /tmp/.artifact_only_mode
1820

1921
ENTRYPOINT []
Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
# Pre-built base image contains gcc:13, python3, tools, and the
2-
# Linux kernel source at v4.14.114. Build it first if missing:
3-
# ./scripts/build_linux_base_images.sh v4.14.114
4-
FROM ccb-linux-base:v4.14.114
1+
FROM gcc:13
52

6-
# Tests are uploaded at runtime by Harbor verifier to /tests/
7-
# No additional build steps needed — base image has everything.
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
python3 python3-pip git curl ca-certificates \
5+
gawk bc bison flex libssl-dev libelf-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
WORKDIR /workspace
9+
10+
# Shallow clone Linux kernel at v4.14.114.
11+
# Try stable tree first, fall back to mainline for release candidates.
12+
RUN (git clone --depth 1 --branch v4.14.114 --no-tags \
13+
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . \
14+
|| git clone --depth 1 --branch v4.14.114 --no-tags \
15+
https://github.com/torvalds/linux.git .) && \
16+
git config user.email "agent@example.com" && \
17+
git config user.name "Agent"
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
# linux-ssd-trim-timeout-fault-001 — artifact_only variant (write-only)
2-
# Repos cloned for baseline agent to read locally.
3-
# MCP agent deletes source files at runtime via agent startup script.
4-
# Verifier scores agent output only — no repo restore needed.
1+
FROM gcc:13
52

6-
# Pre-built base image contains gcc:13, tools, Claude Code CLI, and the
7-
# Linux kernel source at v4.14.114. Build it first if missing:
8-
# ./benchmarks/ccb_linuxflbench/base_images/build_base_images.sh v4.14.114
9-
# See benchmarks/ccb_linuxflbench/README.md for details.
10-
FROM ccb-linux-base:v4.14.114
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
python3 python3-pip git curl ca-certificates \
5+
gawk bc bison flex libssl-dev libelf-dev \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
WORKDIR /workspace
9+
10+
# Shallow clone Linux kernel at v4.14.114.
11+
# Try stable tree first, fall back to mainline for release candidates.
12+
RUN (git clone --depth 1 --branch v4.14.114 --no-tags \
13+
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . \
14+
|| git clone --depth 1 --branch v4.14.114 --no-tags \
15+
https://github.com/torvalds/linux.git .) && \
16+
git config user.email "agent@example.com" && \
17+
git config user.name "Agent"
1118

12-
# Tests are uploaded at runtime by Harbor verifier to /tests/
13-
# No additional build steps needed — base image has everything.
14-
# --- artifact_only mode ---
15-
# Sentinel flag for artifact-based verification.
16-
# Source stays readable for baseline agent; MCP agent deletes at runtime.
1719
RUN touch /tmp/.artifact_only_mode
1820

1921
ENTRYPOINT []

0 commit comments

Comments
 (0)