FROM maven:3-openjdk-11 as base # RUN apt-get update && apt-get install -y git maven RUN git clone https://github.com/suvera/keycloak-scim2-storage.git WORKDIR /keycloak-scim2-storage RUN mvn clean install FROM docker.io/jboss/keycloak:16.1.0 COPY --from=base /keycloak-scim2-storage/target/suvera-keycloak-scim2-outbound-provisioning-jar-with-dependencies.jar /opt/jboss/keycloak/standalone/deployments/ # RUN curl https://github.com/Captain-P-Goldfish/scim-for-keycloak/releases/download/kc-16-b2/scim-for-keycloak-kc-16-b2.ear -o /opt/jboss/keycloak/standalone/deployments/scim-for-keycloak-kc-16-b2.ear