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
367 B

  1. FROM quay.io/keycloak/keycloak:17.0.0 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 quay.io/keycloak/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"]