Commit 4393eac
fix(docker): make the embedded binary executable in the image
GitHub artifacts don't preserve the executable bit, so the binary the deploy job
downloads and packages is 0644, and the scratch image can't exec it — the
published image failed at startup with "/smocker ... not executable". COPY
--chmod=0755 sets the mode at copy time, fixing both the artifact-based deploy
build and local builds.
The build-job smoke test missed this because it builds the binary locally (0755)
rather than from the uploaded artifact.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 4558fe3 commit 4393eac
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
0 commit comments