-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
597c94d
commit ed67f65
Showing
12 changed files
with
41 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...s/src/main/java/com/github/bcgov/keycloak/protocol/oidc/ext/endpoints/LegacyEndpoint.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
...eycloak/extensions-26/services/src/main/resources/META-INF/jboss-deployment-structure.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
FROM maven:3.8.5-openjdk-17-slim AS extensions-builder | ||
FROM maven:3.9.9-eclipse-temurin-21 AS extensions-builder | ||
|
||
COPY ./docker/keycloak/extensions-24/ /tmp/ | ||
COPY ./docker/keycloak/extensions-26 /tmp/ | ||
WORKDIR /tmp/ | ||
RUN mvn -B clean package --file pom.xml -Dmaven.test.skip=true | ||
|
||
# built using https://github.com/keycloak/keycloak-containers/blob/main/server/Dockerfile | ||
FROM keycloak:24.0.5 | ||
|
||
FROM keycloak:26.0.5 | ||
|
||
ENV KC_HEALTH_ENABLED=true | ||
ENV KC_METRICS_ENABLED=true | ||
ENV KC_DB=postgres | ||
|
||
COPY --from=extensions-builder /tmp/services/target/bcgov-services-1.0.0.jar /opt/keycloak/providers/ | ||
|
||
# COPY ./docker/keycloak/extensions-24/themes/src/main/resources/theme /opt/keycloak/themes/ | ||
COPY ./docker/keycloak/extensions-26/themes/src/main/resources/theme /opt/keycloak/themes/ | ||
|
||
RUN /opt/keycloak/bin/kc.sh build | ||
RUN /opt/keycloak/bin/kc.sh build --verbose | ||
|
||
WORKDIR /opt/keycloak | ||
|
||
COPY ./docker/keycloak/configuration/24/quarkus.properties /opt/keycloak/conf | ||
COPY ./docker/keycloak/configuration/26/quarkus.properties /opt/keycloak/conf | ||
|
||
COPY ./docker/keycloak/configuration/24/keycloak-default-user-profile.json /tmp | ||
COPY ./docker/keycloak/configuration/26/keycloak-default-user-profile.json /tmp | ||
|
||
# change these values to point to a running postgres instance | ||
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"] |