Commit 4f04140
committed
fix(evals): build /run.sh with printf so legacy builder works
The Dockerfile.template used a BuildKit heredoc (`RUN cat <<-'EOF' >/run.sh`).
With the legacy builder it parses as `RUN cat >/run.sh` — empty stdin, 0-byte
file. Every eval container then dies with `exec /run.sh: exec format error`,
emits no events, and the run ends with Total Cost=$0 / Errors=N/N.
Replace the heredoc with a single `RUN printf … > /run.sh && chmod +x`.
Same resulting file, works on both legacy builder and BuildKit.1 parent 9513dbd commit 4f04140
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 6 | + | |
12 | 7 | | |
13 | 8 | | |
14 | 9 | | |
| |||
0 commit comments