| LABEL maintainer="Red Hat, Inc." |
| LABEL com.redhat.component="ubi9-micro-container" |
| LABEL name="ubi9/ubi-micro" |
| LABEL version="9.3" |
| 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:73c88c7da89fa39e2bcd8aa59cabbe1f1e213738afcea3abc473b33f969906eb in / |
| COPY file:eec73f859c6e7f6c8a9427ecc5249504fe89ae54dc3a1521b442674a90497d32 in /etc/yum.repos.d/ubi.repo |
| CMD /bin/sh |
| LABEL release=13 |
| ADD file:16dda0c03780f2e177976531f51e161fb234cedf062fdf0cb427a83057a7dcef in /root/buildinfo/content_manifests/ubi9-micro-container-9.3-13.json |
| ADD file:bbf3f3f6cf68295f65071f7f54afde8a0b9842c689498036ea546083545ee6f8 in /root/buildinfo/Dockerfile-ubi9-ubi-micro-9.3-13 |
| LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-01-18T10:06:04" "architecture"="aarch64" "vcs-type"="git" "vcs-ref"="303dc144996db01765d69e8ea45d2d617d953e42" "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.3-13" |
| 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"] |
| USER root |
| /bin/sh -c mkdir -p /opt/keycloak/themes |
| COPY dir:3a3e17433dc85092934f45aa0e96e4c501528f2ec5ea0766d0ac4ed3ecf0c716 in /opt/keycloak/themes/bbb-theme |
| /bin/sh -c chown -R 1000:0 /opt/keycloak/themes && chmod -R g+rw /opt/keycloak/themes |
| USER 1000 |
| ENV KC_THEME=bbb-theme |
| ENV KC_DB=postgres |
| ENV KC_FEATURES=token-exchange,admin-fine-grained-authz |
| ENV KC_HTTP_RELATIVE_PATH=/auth |
| ENV KC_HOSTNAME_STRICT=false |
| ENV KC_HOSTNAME_STRICT_HTTPS=false |
| /bin/sh -c /opt/keycloak/bin/kc.sh build |
| EXPOSE 8080 |
| ENTRYPOINT ["/opt/keycloak/bin/kc.sh"] |
| CMD ["start", "--optimized"] |