Builder stage compiles both miroir-proxy and miroir-ctl as static musl binaries, strips them, and copies into a scratch image. Updated .cargo/config.toml to use target-feature=+crt-static instead of incorrect CC/CFLAGS. Added .dockerignore to exclude non-essential files. Image: 4.0 MB compressed (scratch base, single static binary). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
16 lines
179 B
Text
16 lines
179 B
Text
target/
|
|
.git/
|
|
*.md
|
|
LICENSE
|
|
charts/
|
|
dashboards/
|
|
docs/
|
|
k8s/
|
|
scripts/
|
|
tests/
|
|
benches/
|
|
miroir-proxy-linux-amd64
|
|
miroir-proxy-linux-amd64.sha256
|
|
tarpaulin-report.json
|
|
.claude/
|
|
.beads/
|