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 on arm64 #55

Closed
wants to merge 9 commits into from
Closed

Build on arm64 #55

wants to merge 9 commits into from

Conversation

multani
Copy link
Owner

@multani multani commented Sep 4, 2022

Cf. #38

Nomad still needs the glibc and it's difficult to find a maintained glibc package for Alpine, built for arm64. So, this switches the base image from Alpine to Debian.

Quick testing shows the new base image adds 60 MB:

$ docker images | grep nomad
local/nomad       debian         702bf83325e9   15 minutes ago      211MB
local/nomad       alpine         96d0438abfd1   15 minutes ago      149MB

@multani multani self-assigned this Sep 4, 2022
@Mongey
Copy link

Mongey commented Apr 18, 2023

👋 Hey @multani, any updates on this? I was looking for a nomad container built for arm, and came across this.

@multani
Copy link
Owner Author

multani commented Apr 18, 2023

Hey @Mongey 👋

This is a bit on hold for now, as Nomad needs the glibc and it's difficult to get it with Alpine. I'm not sure if switching over the base image from alpine to debian is a good move either at the moment, I'm not sure how the Docker image is used :D Maybe I should start a discussion about that 🤔

Otherwise, another possibility would be to build 2 different images:

  • One Alpine-based, only available for x86-64
  • Another one Debian-based, available for other platform (x86-64, but also arm64 and what else)

Would you be interested to help on this topic?

@multani
Copy link
Owner Author

multani commented May 29, 2023

I intend to switch over the base image from Alpine to Debian: #133

@gbarton
Copy link

gbarton commented Oct 15, 2023

I see you started moving over to debian, what stopped you in the end? Was it just the image size increase? Am looking to run on arm and your packaging seems to be the most updated and maintained!

@multani
Copy link
Owner Author

multani commented Oct 17, 2023

Hey @gbarton, I didn't took the time to move this forward and got stuck with other changes I wanted to do.
I'll try to get back to it in in November 🙇

@gbarton
Copy link

gbarton commented Oct 18, 2023

I don't mind helping, what do I need to do other than to bring the arm branch up to current? Anything in progress you are trying to finish?

@multani
Copy link
Owner Author

multani commented Oct 22, 2023

I wanted to simplify the build process for all the branches and unify this in a single branch to bring arm64 for all the subsequent releases.
I also want to keep the Alpine based build for some time.

I have some work in progress on all of this, I'll bring it up in the coming weeks 👍

@gbarton
Copy link

gbarton commented Oct 23, 2023

Alright, if there is anything I can do let me know!

@multani
Copy link
Owner Author

multani commented Nov 6, 2023

I'll continue the work in other pull requests:

@multani
Copy link
Owner Author

multani commented Nov 6, 2023

The actual multi-arch build is in #202, it adds support for armv7 and arm64.

@multani
Copy link
Owner Author

multani commented Nov 6, 2023

Latest versions are built using Debian and support armv7 and arm64 🎉

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

Successfully merging this pull request may close these issues.

3 participants