Commit 7550a14
Fix Dockerfile build and zlib vulnerability
- Add missing build step to compile Go binary in build stage
- Use CGO_ENABLED=0 for static binary compatible with Alpine
- Upgrade base image from alpine:3 to alpine:3.23 to fix zlib out-of-bounds write vulnerability
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 95dd7ba commit 7550a14
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | | - | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
0 commit comments