LABEL maintainer="Red Hat, Inc." |
LABEL com.redhat.component="ubi9-micro-container" |
LABEL name="ubi9/ubi-micro" |
LABEL version="9.1.0" |
LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" |
LABEL summary="ubi9 micro image" |
LABEL description="Very small image which doesn't install the package manager." |
LABEL io.k8s.display-name="Ubi9-micro" |
LABEL io.openshift.expose-services="" |
COPY dir:efcb110bf6663ff98b57a7b04c41098d8101bc1ff2aec6670f67d4acf681652f in / |
COPY file:eec73f859c6e7f6c8a9427ecc5249504fe89ae54dc3a1521b442674a90497d32 in /etc/yum.repos.d/ubi.repo |
CMD /bin/sh |
LABEL release=17 |
ADD file:b5380c01fdd578ca4677b38d272d2cc3cbc07511cac13b7ce93f05c98fa38b3b in /root/buildinfo/content_manifests/ubi9-micro-container-9.1.0-17.json |
ADD file:015d4df4e2f0e19a82700a90cff44eb852428e3f1651f7a486b1dc9ae3d503de in /root/buildinfo/Dockerfile-ubi9-ubi-micro-9.1.0-17 |
LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2023-04-05T11:35:37" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="c563e091e0c7bd5a69b2a46990dda4f59595aa37" "io.k8s.description"="Very small image which doesn't install the package manager." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/ubi-micro/images/9.1.0-17" |
ENV LANG=en_US.UTF-8 |
COPY /tmp/null/rootfs/ / # buildkit |
COPY /opt/keycloak /opt/keycloak # buildkit |
RUN /bin/sh -c echo "keycloak:x:0:root" >> /etc/group && echo "keycloak:x:1000:0:keycloak user:/opt/keycloak:/sbin/nologin" >> /etc/passwd # buildkit |
USER 1000 |
EXPOSE map[8080/tcp:{}] |
EXPOSE map[8443/tcp:{}] |
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"] |
COPY /opt/keycloak/ /opt/keycloak/ # buildkit |
ENV KC_DB=postgres |
ENV KC_DB_URL=jdbc:postgresql://<dbhost>:5432/<dbname> |
ENV KC_DB_USERNAME=<dbuser> |
ENV KC_DB_PASSWORD=<dbpass> |
ENV KC_HOSTNAME=id.dateien.org |
ENTRYPOINT ["/opt/keycloak/bin/kc.sh" "start --optimized --proxy=edge"] |