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

Switch Alpine base image to official eclipse-temurin #250

Merged
merged 3 commits into from
Apr 26, 2022

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Apr 26, 2022

This PR switched the base image of the Alpine agents (JDK8, JDK11 and JDK17) from the stock "Alpine" to the official "eclipse-temurin" alpine variant.

It has the following benefits:

  • Strict control of the JDK used, to control the version, as we were using the "latest" version as per the usual Alpine package manager style. "Latest" version is fine for some tools like ca-certificates, but in the case of the JDK, it is important to know which version is used or not.

  • Faster and simplified builds for JDK11 and JDK17. We were using jlink to generate a custom JVM installation compliant with musl as no eclipse temurin Alpine image was available back then. It was convenient but being able to use the "stock" installation simplifies the Dockerfiles.

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!

  • Ensure that the pull request title represents the desired changelog entry

  • Please describe what you did

  • [ ] Link to relevant issues in GitHub or Jira

  • [ ] Link to relevant pull requests, esp. upstream and downstream changes

  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@dduportal dduportal changed the title feat(alpine-17) switch base image to official eclipse-temurin feat(alpine) switch base image to official eclipse-temurin (alpine) Apr 26, 2022
@dduportal dduportal marked this pull request as ready for review April 26, 2022 16:55
@dduportal dduportal requested a review from a team as a code owner April 26, 2022 16:55
@timja timja merged commit 7947e1a into jenkinsci:master Apr 26, 2022
@MarkEWaite MarkEWaite changed the title feat(alpine) switch base image to official eclipse-temurin (alpine) Switch base image to official eclipse-temurin (alpine) Apr 28, 2022
@MarkEWaite MarkEWaite changed the title Switch base image to official eclipse-temurin (alpine) Switch Alpine base image to official eclipse-temurin Apr 28, 2022
@dduportal dduportal deleted the patch-1 branch November 5, 2022 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants