From ea552687fb6ed13469a9fe23f8b4ff20f87f2115 Mon Sep 17 00:00:00 2001 From: Dominik Guhr <89905860+DGuhr@users.noreply.github.com> Date: Fri, 22 Apr 2022 14:57:39 +0200 Subject: [PATCH] Fixes wrong encoding in container image (#11547) Closes #11545 Co-authored-by: Joshua Sorah Co-authored-by: Joshua Sorah --- quarkus/container/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quarkus/container/Dockerfile b/quarkus/container/Dockerfile index 96b307986e..2252412be6 100644 --- a/quarkus/container/Dockerfile +++ b/quarkus/container/Dockerfile @@ -18,11 +18,12 @@ RUN mv /tmp/keycloak/keycloak-* /opt/keycloak && mkdir -p /opt/keycloak/data RUN chmod -R g+rwX /opt/keycloak FROM registry.access.redhat.com/ubi8-minimal +ENV LANG en_US.UTF-8 COPY --from=build-env --chown=1000:0 /opt/keycloak /opt/keycloak RUN microdnf update -y && \ - microdnf install -y java-11-openjdk-headless && microdnf clean all && rm -rf /var/cache/yum/* && \ + microdnf install -y --nodocs java-11-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