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

Add alpine arm64 docker image builds #587

Closed
nbr23 opened this issue Sep 7, 2023 · 8 comments · Fixed by jenkinsci/docker-inbound-agent#397
Closed

Add alpine arm64 docker image builds #587

nbr23 opened this issue Sep 7, 2023 · 8 comments · Fixed by jenkinsci/docker-inbound-agent#397

Comments

@nbr23
Copy link
Contributor

nbr23 commented Sep 7, 2023

What feature do you want to see added?

Hi!

Could we build the arm64 variant for the alpine based image of the agent?
I think it might just be a matter of adding alpine to the linux-arm64 group in docker-bake?
Looks like we might have a dependency on this first #397

Thanks!

Upstream changes

No response

@dduportal
Copy link
Contributor

It not possible for now: adoptium/containers#158 (comment) means that temurin is not available yet, even for JDK21 alpine aarch64.

@gounthar
Copy link
Contributor

gounthar commented Sep 7, 2023

Temurin is already providing nightly builds of JDK21 for aarch64/alpine. However, it's important to note that these builds are nightly builds, which means they are not official stable releases.

Additionally, it's worth mentioning that Jenkins does not currently offer official support for JDK21. So, if we decide to provide a Docker image for it, we would be ahead of the curve compared to the official support status.

That being said, this doesn't necessarily mean we shouldn't provide such an image. It could be a proactive step that allows us to re-integrate Alpine for aarch64 as soon as it becomes officially available. 🤔

I know, I know, the next logical step would be for me to propose a PR so that we know if that can be done harmlessly. 🤣

@dduportal
Copy link
Contributor

Good news! Thanks @gounthar for the explanation!

And by the ay, thanks @nbr23 for raising this issue and searching context! Would you be willing to help?

@nbr23
Copy link
Contributor Author

nbr23 commented Sep 7, 2023

This all sounds good to me!
Happy to help in any capacity I can yes, let me know what I can do!

Thx!

@dduportal
Copy link
Contributor

This all sounds good to me! Happy to help in any capacity I can yes, let me know what I can do!

Thx!

@nbr23 a first step would be to introduce an initial set of JDK21 "experimental" images on jenkinsci/docker-agent for debian and alpine.

Same idea as the JDK21 experimental introduction for the controller image with the -preview tags.

Good news: the addition of a new JDK should be simpler with agent images.

@dduportal
Copy link
Contributor

Thanks for #492 @nbr23 !

The release 3148.v532a_7e715ee3-4 is currently being published in the DockerHub: you can start the work on jenkinsci/docker-inbound-agent now.

@dduportal
Copy link
Contributor

Aaaand it's implemented and available:

Capture d’écran 2023-09-08 à 19 21 00

Please note that there are NO guarantuee that Temurin project will keep delivering an alpine arm64 JDK21 in the future : if they don't, the alpine arm64 image of the Jenkins agents will be discontinued.

Thanks for the contributions @nbr23 and @gounthar

@nbr23
Copy link
Contributor Author

nbr23 commented Sep 9, 2023

Sorry, was AFK today, but I see @gounthar was on fire and finished my job and much more! Thanks so much everyone, what an amazing turnaround time!

lemeurherve referenced this issue in lemeurherve/jenkinsci-docker-inbound-agent Nov 19, 2023
…master/debian-bullseye-20230320

chore(deps): bump debian from bullseye-20230227 to bullseye-20230320 in /17/bullseye
@lemeurherve lemeurherve transferred this issue from jenkinsci/docker-inbound-agent Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants