From 16317f87cbf66882059a1f8cfea3b1f90d17087a Mon Sep 17 00:00:00 2001 From: June Date: Sun, 5 Apr 2026 01:40:42 +0200 Subject: [PATCH] add attribute-endpoints-provider plugin to keycloak --- .woodpecker/keycloak.yaml | 9 +++++++++ keycloak/Containerfile | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.woodpecker/keycloak.yaml b/.woodpecker/keycloak.yaml index 99e4df9..1414999 100644 --- a/.woodpecker/keycloak.yaml +++ b/.woodpecker/keycloak.yaml @@ -30,6 +30,15 @@ steps: commands: - mkdir /woodpecker/images + - name: build-attribute-endpoints-provider + image: alpine + commands: + - apk -u add maven git + - git clone https://git.hamburg.ccc.de/CCCHH/keycloak-attribute-endpoints-provider.git + - cd keycloak-attribute-endpoints-provider + - mvn -f attribute-endpoints-provider verify + - cp attribute-endpoints-provider/target/attribute-endpoints-provider-1.0-SNAPSHOT.jar /woodpecker/src/keycloak/attribute-endpoints-provider.jar + - name: build-image image: gcr.io/kaniko-project/executor entrypoint: diff --git a/keycloak/Containerfile b/keycloak/Containerfile index 7f5fa4c..4822296 100644 --- a/keycloak/Containerfile +++ b/keycloak/Containerfile @@ -9,7 +9,8 @@ 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"] +ENTRYPOINT ["/opt/keycloak/bin/kc.sh" "--features=declarative-ui"]