Commit ebc82f6
fix(docker): add writable /tmp to the scratch-based image (#1105)
Kosli's temp-dir usage (directory fingerprinting, evidence tarballing)
relies on os.MkdirTemp, which fails when /tmp doesn't exist at all, as
is the case in the scratch base image. Stage an empty dir in the
builder stage and copy it into the final image as a world-writable /tmp.
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 61b5742 commit ebc82f6
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| 27 | + | |
25 | 28 | | |
0 commit comments