Elektrine lite

← Feed

@trini@floss.social

2026-08-21 21:29 UTC

Does anyone have examples of using Gitlab (or some other CI) to build multi-platform containers, in a way that doesn't seem to just QEMU the non-native part? https://docs.gitlab.com/ci/docker/using_buildkit/#build-multi-platform-images-in-rootless-mode to me reads like it will just do everything on whatever runner gets the job. But I have fast enough arm64 and fast enough amd64 and so my manual multi-platform builds do the work on the appropriate host. Of course, manual builds aren't a modern best practice.

Replies (1)

  • @trini@floss.social I do sometimes, following basically this: https://docs.docker.com/build/building/multi-platform/#multiple-native-nodes Something like this, specifying the addresses of your AMD64 and ARM64 workers: ``` docker buildx create --name cluster --driver remote --platform linux/amd64,linux/386 tcp://localhost:1235 docker buildx create --name cluster --append --platform linux/arm64 tcp://localhost:1234 ```

    Open ##4960892