Commit 0779707
committed
Download the Bazel release matching the build architecture
The server image hardcoded bazel-$BAZEL_VERSION-installer-linux-x86_64.sh,
so ml_metadata_store_server could only be built on x86_64. This is one of
the reasons the published image is amd64-only, which in turn blocks
Kubeflow Pipelines on ARM clusters (kubeflow/pipelines#10308).
Bazel publishes a linux-arm64 release for 7.7.0, but as a plain binary
rather than an installer script, so select the artifact from
`dpkg --print-architecture` and install it directly to /usr/local/bin.
On x86_64 this is equivalent to the previous installer invocation: the
installer's only effect here was to place the same bazel binary on PATH.1 parent be943b8 commit 0779707
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
0 commit comments