Java 17 support not given

Fixes #15916
This commit is contained in:
Martin Bartoš 2022-12-13 11:27:44 +01:00 committed by Pedro Igor
parent 173ff10141
commit 445e953501

View file

@ -23,7 +23,7 @@ ENV LANG en_US.UTF-8
COPY --from=build-env --chown=1000:0 /opt/keycloak /opt/keycloak
RUN microdnf update -y && \
microdnf install -y --nodocs java-11-openjdk-headless glibc-langpack-en && microdnf clean all && rm -rf /var/cache/yum/* && \
microdnf install -y --nodocs java-17-openjdk-headless glibc-langpack-en && microdnf clean all && rm -rf /var/cache/yum/* && \
echo "keycloak:x:0:root" >> /etc/group && \
echo "keycloak:x:1000:0:keycloak user:/opt/keycloak:/sbin/nologin" >> /etc/passwd