-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Comments
At this stage we are only offering support for the DockerHub official images: https://hub.docker.com/_/eclipse-temurin |
any plan to extend this in the next stages? We can also open new PR to collaborate in this. |
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. |
@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"] |
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
The text was updated successfully, but these errors were encountered: