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 ubi-min based images #207

Open
leochr opened this issue Oct 14, 2020 · 10 comments · May be fixed by #288
Open

Add ubi-min based images #207

leochr opened this issue Oct 14, 2020 · 10 comments · May be fixed by #288

Comments

@leochr
Copy link
Member

leochr commented Oct 14, 2020

Add ubi-min based images for kernel-slim and full. Use the Semeru JRE image (as opposed to JDK) as the base.

@leochr
Copy link
Member Author

leochr commented Nov 26, 2020

Some investigation is needed to evaluate whether UBI-min based images would significantly reduce the size of Liberty images. Build ubi-min based image for kernel-slim tag (with OpenJ9 Java 8) and compare to relevant ubi based image

@leochr leochr self-assigned this Dec 8, 2020
@leochr leochr removed the help wanted label Dec 8, 2020
@dougbreaux
Copy link

I came looking for this because cloud security best practices say to use the smallest image you can. And the Ubuntu images are smaller than the UBI ones.

@jdmcclur
Copy link
Member

jdmcclur commented Apr 27, 2021

Another option is basing our images on ubi-jre instead of ubi.
Example: adoptopenjdk/openjdk8-openj9:ubi-jre vs adoptopenjdk/openjdk8-openj9:ubi

I think ubi-jre only packages the jre instead of the whole jdk.

For our ubuntu images we use jre images, so I would think we would want to do the same for ubi?

adoptopenjdk/openjdk11-openj9       ubi          590MB
adoptopenjdk/openjdk11-openj9       ubi-jre      376MB
adoptopenjdk/openjdk8-openj9        ubi          479MB
adoptopenjdk/openjdk8-openj9        ubi-jre      378MB

@arthurdm
Copy link
Contributor

There is also now ubi-micro. I've asked here for plans to support it.

@arthurdm arthurdm linked a pull request Nov 26, 2021 that will close this issue
@matthewpwilson
Copy link

@verymahler please can you tell me which images are based on ubi-mimimal?

@verymahler
Copy link

@matthewpwilson They aren't. I removed my comment.

@lmsurpre
Copy link

@leochr is there any update on this? your comment on the PR says:

Once the images are in icr.io, the Liberty images will need to switch to those.

But its been over 6 months...is the Semeru runtimes team planning to make ubi-min (or ubi-micro) images available?

@jdmcclur
Copy link
Member

@leochr - Any update on this? Any outlook?

@leochr
Copy link
Member Author

leochr commented Mar 11, 2023

Sorry I missed the above questions before.

Semeru images based on ubi-min + JRE are now available in icr.io for all platforms. We will plan to build Liberty images using them.

@arturobrzut
Copy link

Hi @leochr
After 6 months any results for building the Liberty image on the top of Semeru ubi-min + JRE?

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.

8 participants