Commit 6314273
fix: use custom BASE_IMAGE arg to override cross-rs Docker base images
Cross 0.2.5 always overrides CROSS_BASE_IMAGE with its own :0.2.5
tagged image. Use a custom BASE_IMAGE build arg instead, which cross
doesn't override, to use the :main tagged images (Ubuntu 20.04+).
This provides modern toolchains (protoc 3.x, libclang 10+) while
keeping the cross 0.2.5 binary compatible with rustc 1.85.0.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 774e3cb commit 6314273
3 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments