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

[FEAT]: compile images for linux/arm64/v8 #187

Closed
haf opened this issue Feb 10, 2023 · 6 comments
Closed

[FEAT]: compile images for linux/arm64/v8 #187

haf opened this issue Feb 10, 2023 · 6 comments
Assignees
Labels
issue: help wanted Issue needing extra attention

Comments

@haf
Copy link

haf commented Feb 10, 2023

Is your feature request related to a problem? Please describe.
As a developer utilising your docker images on a M1/M2 Apple MacBook computer, the latest versions of Docker Desktop fails to pull the images by default:

❯ docker pull getlago/api:v0.21.0-beta
v0.21.0-beta: Pulling from getlago/api
no matching manifest for linux/arm64/v8 in the manifest list entries

Instead a command like

❯ docker pull getlago/api:v0.21.0-beta --platform linux/x86_64
v0.21.0-beta: Pulling from getlago/api
...

, has to be used.

This also affects my actual core workflow utilising k3d to spawn a local kubernetes cluster when testing the integration of Lago with the rest of the infrastructure.

Describe the solution you'd like
Consider cross-compiling to linux/arm64/v8.

Describe alternatives you've considered
I haven't yet figured out how to make k8s pull the with platform, but when I figure that out (like the docker platform flag above), I'll be unblocked.

Additional context
No.

@jdenquin
Copy link
Contributor

@getlago getlago deleted a comment from mathieu-lago Feb 13, 2023
@jdenquin jdenquin self-assigned this Feb 13, 2023
@jdenquin jdenquin added the issue: help wanted Issue needing extra attention label Feb 13, 2023
@haf
Copy link
Author

haf commented Feb 14, 2023

Oh I see. Well, the norm would be that the platforms are all pushed to the same image, so it doesn't really solve my use-case, but it's great that it's already cross-compiled!

@jdenquin
Copy link
Contributor

We are working on having the same image for multi platforms, it should be ready for next releases!

@CarlAmko
Copy link

CarlAmko commented Apr 7, 2023

@jdenquin
Any update on this? It's been ~2 months and 6 releases later and it seems the images are still platform named.

@jdenquin
Copy link
Contributor

jdenquin commented Apr 7, 2023

@CarlAmko I'm still facing some issues with nokogiri on the api side with the "classic" Dockerfile and arm64 platform.
Putting this on top of my todo!

@jdenquin
Copy link
Contributor

It's actually done and will be available for the next release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: help wanted Issue needing extra attention
Projects
None yet
Development

No branches or pull requests

3 participants