mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-08 14:32:05 -03:30
fix: cleaning up dockerfile build warnings (#42573)
closes: #42572 Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
parent
9eb0a3a326
commit
bb7e5ab7b2
@ -4,7 +4,7 @@ ADD target/ubi-null.sh /tmp/
|
||||
RUN bash /tmp/ubi-null.sh java-21-openjdk-headless glibc-langpack-en
|
||||
|
||||
FROM registry.access.redhat.com/ubi9-micro
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
||||
COPY --from=ubi-micro-build /tmp/null/rootfs/ /
|
||||
|
||||
@ -56,5 +56,5 @@ ARG KEYCLOAK_DOCS=${KEYCLOAK_URL}documentation
|
||||
LABEL org.opencontainers.image.title=${KEYCLOAK_OPERATOR_DISPLAY_NAME} \
|
||||
org.opencontainers.image.url=${KEYCLOAK_URL} \
|
||||
org.opencontainers.image.source=${KEYCLOAK_SOURCE} \
|
||||
org.opencontainers.image.description=${KEYCLOAK_DESCRIPTION} \
|
||||
org.opencontainers.image.description=${KEYCLOAK_OPERATOR_DESCRIPTION} \
|
||||
org.opencontainers.image.documentation=${KEYCLOAK_DOCS}
|
||||
|
||||
@ -20,10 +20,10 @@ ADD ubi-null.sh /tmp/
|
||||
RUN bash /tmp/ubi-null.sh java-21-openjdk-headless glibc-langpack-en findutils
|
||||
|
||||
FROM registry.access.redhat.com/ubi9-micro
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
||||
# Flag for determining app is running in container
|
||||
ENV KC_RUN_IN_CONTAINER true
|
||||
ENV KC_RUN_IN_CONTAINER=true
|
||||
|
||||
COPY --from=ubi-micro-build /tmp/null/rootfs/ /
|
||||
COPY --from=ubi-micro-build --chown=1000:0 /opt/keycloak /opt/keycloak
|
||||
@ -75,5 +75,5 @@ ARG KEYCLOAK_DOCS=${KEYCLOAK_URL}documentation
|
||||
LABEL org.opencontainers.image.title=${KEYCLOAK_SERVER_DISPLAY_NAME} \
|
||||
org.opencontainers.image.url=${KEYCLOAK_URL} \
|
||||
org.opencontainers.image.source=${KEYCLOAK_SOURCE} \
|
||||
org.opencontainers.image.description=${KEYCLOAK_DESCRIPTION} \
|
||||
org.opencontainers.image.description=${KEYCLOAK_SERVER_DESCRIPTION} \
|
||||
org.opencontainers.image.documentation=${KEYCLOAK_DOCS}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user