Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build multi-arch pclocal(pinecone-local) docker images #431

Open
danbf opened this issue Jan 17, 2025 · 0 comments
Open

build multi-arch pclocal(pinecone-local) docker images #431

danbf opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request status:needs-triage An issue that needs to be triaged by the Pinecone team

Comments

@danbf
Copy link

danbf commented Jan 17, 2025

What motivated you to submit this feature request?
Our preferred platform for execution is arm64. We run into a problem with our CI builds as the pclocal images, like ghcr.io/pinecone-io/pinecone-local:latest are built currently with a platform platform=x86_64. Our builds for our arm64 services run on AWS graviton's(arm64 linux) and so they throw this error when we run our tests against the pclocal docker container.

docker run --platform=x86_64 -it ghcr.io/pinecone-io/pinecone-local:latest
exec /control: exec format error

Describe the solution you'd like
Update the pclocal build process to push both linux/amd64 and linux/arm64 multi-arch images at least. linux/386, linux/amd64, linux/arm/v5, linux/arm/v7, linux/arm64/v8, linux/mips64le, linux/ppc64le, linux/s390x if you want to be super complete like debian bookworm for instance.

There are a number of guides out there depending on your CI system and if your upstream images are already multi-arch. buildx can be super useful.

Describe alternatives you've considered
Our current workaround is to run exclusively on our intel bank of machines and via rosetta on our Mac laptops, and building on intel machines.

Additional context
can we haz plz

Image

@danbf danbf added the enhancement New feature or request label Jan 17, 2025
@github-actions github-actions bot added the status:needs-triage An issue that needs to be triaged by the Pinecone team label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request status:needs-triage An issue that needs to be triaged by the Pinecone team
Projects
None yet
Development

No branches or pull requests

1 participant