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

Arm64 support #76

Closed
JorritPosthuma opened this issue Dec 11, 2019 · 10 comments
Closed

Arm64 support #76

JorritPosthuma opened this issue Dec 11, 2019 · 10 comments

Comments

@JorritPosthuma
Copy link

Hi!

I was wondering if arm64 support is on your roadmap? A lot of downstream tools (Postgres, Mongo, Redis) support arm64, but the docker images published are amd64 only. Is it something you can/would like to support? Especially nowadays with ARM64 based AWS instances (Amazon EC2 A1) and the new Raspberry Pi 4, it becomes more and more useful :).

@beltran-rubo
Copy link
Contributor

Thanks for your feedback. At this moment we do not have any ETA for arm64 platform. Right now we are focusing on expanding and improving our containers & Kubernetes Charts catalog.

@JorritPosthuma
Copy link
Author

Alright! Thanks for letting me know :). Is it possible to use normal Debian as base image? Or is that missing a lot?

@beltran-rubo
Copy link
Contributor

Do you mean to replace FROM:minideb and use other Debian? It should work because minideb is just a small version of a Debian distribution but it is only supported a x86_64 architecture. The binaries for postgresql, mongo, redis, ... are also x86_64.

@JorritPosthuma
Copy link
Author

Yes, that was the idea. Switch to FROM debian and if the Postgres binary is build as part of the Dockerfile, then that's it. But otherwise replace it with an arm64 build :).

@beltran-rubo
Copy link
Contributor

In that case that would not work. The containers do not run the compilation at build time. The Postgres binaries or other component binaries are already compiled for x86_64 so will not work on top of arm64.

@rkristelijn
Copy link

Hi!

I was wondering if arm64 support is on your roadmap? A lot of downstream tools (Postgres, Mongo, Redis) support arm64, but the docker images published are amd64 only. Is it something you can/would like to support? Especially nowadays with ARM64 based AWS instances (Amazon EC2 A1) and the new Raspberry Pi 4, it becomes more and more useful :).

+1

@pmundt
Copy link

pmundt commented Jul 7, 2020

FYI, I just needed the same thing for provisioning multi-arch accelerator base containers, so I ended up just hacking up the build scripts, building it on amd64 and arm64 and manually constructing the manifest. There's now an adaptant/minideb multi-arch image that includes both.

It should be easy enough to hack up the scripts to use buildx, but I haven't had the time to look at this yet.

@james-w
Copy link
Contributor

james-w commented Jul 7, 2020

It should be easy enough to hack up the scripts to use buildx, but I haven't had the time to look at this yet.

One concern would be whether that produced reproducible builds.

Does debian-slim have arm64 images?

@pmundt
Copy link

pmundt commented Jul 7, 2020

@james-w Yes, of course, there is no real difference in image size for the x86_64 and arm64 builds.

@james-w
Copy link
Contributor

james-w commented Jul 9, 2020

Yes, debian-slim has arm64 images, so that would be an option for anyone that wants minimial debian images for arm64 until minideb has support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants