Skip to content

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

Open
@danbf

Description

@danbf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststatus:backlogThis issue has been added to our backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions