-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
20 lines (14 loc) · 946 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM maven:3-openjdk-11 as extension-builder-1
COPY extensions/agora-welcome /home/app
RUN mvn clean install -f /home/app
FROM maven:3-openjdk-11 as extension-builder-2
COPY extensions/survey-required-action /home/app
RUN mvn clean install -f /home/app
FROM jboss/keycloak:15.1.0
LABEL org.opencontainers.image.source https://github.com/zechmeister/agora
COPY agora_theme /opt/jboss/keycloak/themes/agora
COPY profile.properties /opt/jboss/keycloak/standalone/configuration/profile.properties
COPY startup-scripts /opt/jboss/startup-scripts
COPY pw_blacklist.txt /opt/jboss/keycloak/standalone/data/password-blacklists/pw_blacklist.txt
COPY --from=extension-builder-1 /home/app/target/agora-welcome-listener-0.0.1.jar /opt/jboss/keycloak/standalone/deployments/agora-welcome-listener.jar
COPY --from=extension-builder-2 /home/app/target/survey-required-action-0.0.1.jar /opt/jboss/keycloak/standalone/deployments/survey-required-action.jar