Commit 0636420
authored
Dockerfile: create zig cache via run.sh, not zig test (#70)
Three recent commits [1][2][3] tried to speed up running user solutions
in production, but weren't sufficient. Continue trying, by running
`zig test` indirectly.
Extra advantage: we have a single source of truth for `zig test`
options, which helps if we want to change them later.
Disadvantage: `docker build` no longer fails if this line produces a
failing test. That's why I didn't do it this way originally.
Refs: #63
[1] 82b56af, 2023-08-23, ".dockerignore, Dockerfile: add a zig cache"
[2] b8b9d02, 2023-08-27, "Dockerfile, bin(run-tests), tests: set USER"
[3] 3f2c0c2, 2023-08-27, "Dockerfile: create zig cache later"1 parent 3f2c0c2 commit 0636420
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
0 commit comments