| 1 | # docker buildx bake |
| 2 | |
| 3 | This is an alternative way to build the jpy Linux wheels. |
| 4 | It is mainly used as a means to produce arm64 wheels via QEMU cross-compiling since GHA does not have a native Linux arm64 runner. |
| 5 | |
| 6 | That said, it can be useful locally too; either to produce native or arm64 Linux wheels. |
| 7 | |
| 8 | ```bash |
| 9 | docker buildx bake \ |
| 10 | --file .github/docker/docker-bake.hcl \ |
| 11 | --set "*.output=type=local,dest=/tmp/dist" |
| 12 | ``` |
| 13 | |
| 14 | ```bash |
| 15 | docker buildx bake \ |
| 16 | --file .github/docker/docker-bake.hcl \ |
| 17 | --set "*.output=type=local,dest=/tmp/dist" \ |
| 18 | --set "*.platform=linux/arm64/v8" |
| 19 | ``` |