Update openjdk version from 11 to 17 (#535)

Update openjdk version from 11 to 17 in order to fix the che-server sturtup error
pull/536/head
Igor Vinokur 2023-07-25 11:04:22 +03:00 committed by GitHub
parent 2cd1bb2b46
commit 00675893ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ FROM registry.access.redhat.com/ubi8-minimal:8.8-1014
USER root
ENV CHE_HOME=/home/user/eclipse-che
ENV JAVA_HOME=/usr/lib/jvm/jre
RUN microdnf install java-11-openjdk-headless tar gzip shadow-utils findutils && \
RUN microdnf install java-17-openjdk-headless tar gzip shadow-utils findutils && \
microdnf update -y && \
microdnf -y clean all && rm -rf /var/cache/yum && echo "Installed Packages" && rpm -qa | sort -V && echo "End Of Installed Packages" && \
adduser -G root user && mkdir -p /home/user/eclipse-che