| 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:bffca7f1cea01d635849eba79168c57ae7a64b313db09850a0dd03d1bc4fe531 in / |
| COPY file:eec73f859c6e7f6c8a9427ecc5249504fe89ae54dc3a1521b442674a90497d32 in /etc/yum.repos.d/ubi.repo |
| CMD /bin/sh |
| LABEL release=9 |
| ADD file:20e4474581f9318058e01f6e4cb8669f94323ab7b214e6cac95cdc4a519c3f37 in /root/buildinfo/content_manifests/ubi9-micro-container-9.3-9.json |
| ADD file:a21d6b16e20f173055d6e2e38abf797365e016ac5ae6ae35b92bb05f62ff422a in /root/buildinfo/Dockerfile-ubi9-ubi-micro-9.3-9 |
| LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2023-12-07T06:07:13" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="7c8efa4a6b572674bf941c8ad74c59eb3ac8b9df" "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-9" |
| 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 |
| RUN /bin/sh -c /opt/keycloak/bin/kc.sh build --features=preview,declarative-user-profile # buildkit |
| ENV KC_DB_URL=postgres |
| ENV KC_DB_USERNAME=user |
| ENV KC_DB_PASSWORD=1234 |
| ENV KC_HOSTNAME=localhost |
| ENTRYPOINT ["/opt/keycloak/bin/kc.sh"] |