forked from 0k/0k-charms
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
359 B
12 lines
359 B
FROM docker.0k.io/keycloak:17.0.1 as builder
|
|
|
|
ENV KC_METRICS_ENABLED=true
|
|
ENV KC_FEATURES=token-exchange
|
|
ENV KC_DB=postgres
|
|
RUN /opt/keycloak/bin/kc.sh build
|
|
|
|
FROM docker.0k.io/keycloak:17.0.0
|
|
COPY --from=builder /opt/keycloak/lib/quarkus/ /opt/keycloak/lib/quarkus/
|
|
WORKDIR /opt/keycloak
|
|
ENV KC_LOG_LEVEL=INFO
|
|
ENTRYPOINT ["/opt/keycloak/bin/kc.sh", "start"]
|