Fixes wrong encoding in container image (#11547)
Closes #11545 Co-authored-by: Joshua Sorah <jsorah@gmail.com> Co-authored-by: Joshua Sorah <jsorah@gmail.com>
This commit is contained in:
parent
75cb29017c
commit
ea552687fb
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue