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

Request adoptopenjdk & Temurin container build images be published to alternate hosting site #3830

Open
AdamBrousseau opened this issue Nov 28, 2024 · 7 comments

Comments

@AdamBrousseau
Copy link
Contributor

At the moment, the build images [1][2] are published to Docker Hub.
The OpenJ9 Community farm and IBM Semeru Runtimes farm pull these images for our Linux build environments for x64 (amd64), ppc64le and aarch64 (arm64). Docker Hub has recently implemented a pricing change [3] that negatively impacts these pulls. We are requesting Adoptium to consider publishing these to an alternate source. Here are a few alternatives I have found.

[1] https://hub.docker.com/r/adoptopenjdk/centos7_build_image
[2] https://hub.docker.com/r/adoptopenjdk/centos6_build_image
[3] https://www.docker.com/blog/november-2024-updated-plans-announcement/

@sxa sxa added the pmc-agenda label Nov 29, 2024
@tellison
Copy link
Contributor

This was discussed at the PMC meeting on Dec 4. The plan is to proceed with designing alternate location/locations suitable for build and delivery images.

@sxa sxa removed the pmc-agenda label Dec 16, 2024
@sxa
Copy link
Member

sxa commented Dec 16, 2024

We shall look at publishing our images to ghcr.io and then mirroring them elsewhere (e.g. azure CR for performance) as desired.

@sxa
Copy link
Member

sxa commented Dec 20, 2024

@gdams Following on from the PMC discussion we had earlier this month, what do we need to do to set up a suitable registry associated with the temurin-build repo that can be used for public and private images?

@smlambert smlambert changed the title Request adoptopenjdk container build images be published to alternate hosting site Request adoptopenjdk & Temurin container build images be published to alternate hosting site Jan 8, 2025
@smlambert
Copy link
Contributor

Updating the title of this one to include the Temurin images also and moving this to the iteration directly after the Jan release.

@sxa
Copy link
Member

sxa commented Jan 17, 2025

@smlambert Moving of the Temurin images should be a separate task and not covered under this issue IMHO as the solution will not necessarily be the same, particularly with respect to permissions of certain images.

@sxa
Copy link
Member

sxa commented Jan 17, 2025

Proposal for build images to replace adoptopenjdk/*_build_image

  • Create a GitHub packages registry in the Adoptium org
  • Use a build_image image which can be used for public build images, which can have tags appropriately e.g. ghcr.io/adoptium/build_image:centos7
  • Use a build_image_private (or build_image_restricted) which can be used for non-public images such as those for windows and Linux/s390x.
  • Both of these can have their access set independently (public vs private) and both should either be associated with the temurin-build or infrastructure repositories.
  • Any Windows images should also be published up to azurecr as per docker: add action to deploy windows build image #3780 for performance reasons although we should endeavour to treat the gchr one as the master location for the images for consistency, and then others can mirror it to any of the alternate repositories listed in the initial description for convenience if desired.

This will require changes to https://ci.adoptium.net/job/centos7_docker_image_updater/ - it's probably about time we renamed that job anyway so this will provide a good opportunity to set up another job in parallel ;-)

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

No branches or pull requests

4 participants