Commit 2cd2e6a
authored
fix(docker): cross-compile multi-arch instead of emulating (#12)
go build ran under QEMU for the arm64 leg, taking 20+ min. Build natively on
$BUILDPLATFORM and cross-compile via GOOS/GOARCH (CGO already disabled), so
multi-arch builds are fast for both CI and releases.1 parent ed14d85 commit 2cd2e6a
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
6 | | - | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
0 commit comments