fork 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

  1. FROM docker.0k.io/keycloak:17.0.1 as builder
  2. ENV KC_METRICS_ENABLED=true
  3. ENV KC_FEATURES=token-exchange
  4. ENV KC_DB=postgres
  5. RUN /opt/keycloak/bin/kc.sh build
  6. FROM docker.0k.io/keycloak:17.0.0
  7. COPY --from=builder /opt/keycloak/lib/quarkus/ /opt/keycloak/lib/quarkus/
  8. WORKDIR /opt/keycloak
  9. ENV KC_LOG_LEVEL=INFO
  10. ENTRYPOINT ["/opt/keycloak/bin/kc.sh", "start"]