Skip to content

Instantly share code, notes, and snippets.

@Jeffwan
Created August 2, 2025 01:25
Show Gist options
  • Select an option

  • Save Jeffwan/12c3e2f547e34a5e35b92e814a85e31d to your computer and use it in GitHub Desktop.

Select an option

Save Jeffwan/12c3e2f547e34a5e35b92e814a85e31d to your computer and use it in GitHub Desktop.
build-kuberay-multi-arch

# how to build customized kuberay:V1.2.1

# environment

docker buildx create --use --name multiarch-builder --driver docker-container
docker buildx inspect --bootstrap
docker buildx use multiarch-builder

# after this command, the status looks good, support arm
docker run --rm --privileged tonistiigi/binfmt --install all
docker buildx inspect

# code 
git clone https://github.com/Yicheng-Lu-llll/kuberay.git
cd kuberay/ray-operator
git checkout respect-block-cfg-add-wait-nodes-ready-env-cmd

# option 1: doesn't work out of box
make docker-multi-arch-image

# option 2: manually build it
# note --push is required. otherwise, it won't save to local
docker buildx build --push --platform linux/amd64,linux/arm64 -t aibrix/kuberay-operator:v1.2.1-patch-20250726 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment