File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,15 @@ RUN pnpm install
1010COPY . .
1111RUN pnpm run build-keycloak-theme
1212
13+ WORKDIR /tmp/provider-build
14+ COPY vendor/keycloak-providers .
15+ RUN mvn clean package -Drevision=release -DskipTests
16+
1317FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION} AS builder
1418WORKDIR /opt/keycloak
19+ # Build custom LDAP disabled provider from the vendor directory
1520COPY --from=keycloakify_jar_builder /opt/app/dist_keycloak/keycloak-theme-for-kc-all-other-versions.jar /opt/keycloak/providers/
21+ COPY --from=keycloakify_jar_builder /tmp/provider-build/ldap-disabled-mapper/target/ldap-disabled-mapper-release.jar /opt/keycloak/providers/
1622ENV KC_DB=postgres
1723RUN /opt/keycloak/bin/kc.sh build --features="passkeys,scripts"
1824
You can’t perform that action at this time.
0 commit comments