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

Support for ubi / ubi-minimal #259

Closed
soufianebenali opened this issue Aug 17, 2022 · 4 comments
Closed

Support for ubi / ubi-minimal #259

soufianebenali opened this issue Aug 17, 2022 · 4 comments
Labels
wontfix This will not be worked on

Comments

@soufianebenali
Copy link

Hi Guys,

There is any plan in the future to support ubi?

Can we collaborate (me and my colleagues) to extend the jdk docker images to support also ubi?

Thanks
Soufiane

@karianna
Copy link
Contributor

At this stage we are only offering support for the DockerHub official images: https://hub.docker.com/_/eclipse-temurin

@soufianebenali
Copy link
Author

any plan to extend this in the next stages?

We can also open new PR to collaborate in this.

@karianna karianna added the wontfix This will not be worked on label Aug 24, 2022
@karianna
Copy link
Contributor

Hi @soufianebenali - We discussed this at the PMC and we need to stick to the DockerHub officially supported images. Red Hat may decide to have UBI accepted as an official image in which case we'd be able to add it as a default.

@gdams
Copy link
Member

gdams commented Aug 24, 2022

@soufianebenali for more context please follow docker-library/official-images#9445 which is the thread where the official maintainers are discussing whether to support ubi or not. Once they've confirmed that they are happy for official images to be based of Ubi it becomes a much easier discussion for us. In the meantime you could use a multi-stage dockefile to have an ubi base:

FROM redhat/ubi8

ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:17 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}"

# Install base dependencies
RUN dnf install -y tzdata openssl ca-certificates fontconfig \
    && dnf clean all \
    && echo javac --version && javac --version \
    && echo java --version && java --version

CMD ["shell"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants