oci-images/keycloak/Containerfile
June a7e31f5a74
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
add attribute-endpoints-provider plugin to keycloak
2026-04-05 01:40:42 +02:00

16 lines
476 B
Docker

ARG TAG=latest
FROM quay.io/keycloak/keycloak:${TAG} as builder
ENV KC_DB=postgres
WORKDIR /opt/keycloak
RUN /opt/keycloak/bin/kc.sh build
FROM quay.io/keycloak/keycloak:${TAG}
COPY --from=builder /opt/keycloak/ /opt/keycloak/
ADD themes/ /opt/keycloak/themes/
ADD attribute-endpoints-provider.jar /opt/keycloak/providers/attribute-endpoints-provider.jar
# Runtime options to be set in compose directly.
ENTRYPOINT ["/opt/keycloak/bin/kc.sh" "--features=declarative-ui"]