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

[FR]: Generate Opik Docker images for arm64 architecture #696

Open
andrescrz opened this issue Nov 22, 2024 · 0 comments
Open

[FR]: Generate Opik Docker images for arm64 architecture #696

andrescrz opened this issue Nov 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@andrescrz
Copy link
Collaborator

andrescrz commented Nov 22, 2024

Proposal summary

Hi,

I noticed that the Opik frontend and backend images available here:

are generated only for the linux/amd64 architecture.

It'd be nice to also build them for linux/arm64, so those using latest Mac laptops can run Opik with native images, which are more performant.

I noticed that if I self build the images locally with docker-compose, they're automatically generated for the local architecture. Example:

  • docker compose -f docker-compose.yaml -f docker-compose.override.yaml up -d --build

So this alternative works fine.

Motivation

Reduce friction and increase performance for Opik users with the latest Mac laptops with arm64 architecture.

@andrescrz andrescrz added the enhancement New feature or request label Nov 22, 2024
vishwamartur added a commit to vishwamartur/opik that referenced this issue Dec 21, 2024
Related to comet-ml#696

Add support for multi-architecture builds for Opik frontend and backend images.

* Update `apps/opik-backend/Dockerfile` and `apps/opik-frontend/Dockerfile` to include `--platform` flag for multi-architecture builds.
* Modify `.github/workflows/build_and_push_docker.yaml` to include `--platform` flag in the `docker build` and `docker push` commands.
* Update `deployment/docker-compose/docker-compose.yaml` and `deployment/docker-compose/docker-compose.override.yaml` to specify `platform: linux/amd64,linux/arm64` for `backend` and `frontend` services.
* Update `deployment/docker-compose/README.md` to include instructions for multi-architecture builds.

Pending task build_apps.yaml
Docker push & build 
Linux support arm AMD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant