File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,16 @@ RUN mvn clean package
1414# ------------------------------------------
1515# Stage 2: Build Keycloak Image
1616# ------------------------------------------
17- FROM quay.io/keycloak/keycloak:25.0.6
17+ FROM quay.io/keycloak/keycloak:26.1.0
1818
19+ # Add the Oracle JDBC jars
20+ ARG ORACLE_JDBC_VERSION=21.3.0.0
21+ ADD --chown=keycloak:keycloak https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc11/${ORACLE_JDBC_VERSION}/ojdbc11-${ORACLE_JDBC_VERSION}.jar /opt/keycloak/providers/ojdbc11.jar
22+ ADD --chown=keycloak:keycloak https://repo1.maven.org/maven2/com/oracle/database/nls/orai18n/${ORACLE_JDBC_VERSION}/orai18n-${ORACLE_JDBC_VERSION}.jar /opt/keycloak/providers/orai18n.jar
23+
24+ # Database build parameter
25+ ENV KC_DB=oracle
26+ # Health build parameter
1927ENV KC_HEALTH_ENABLED=true
2028
2129# Copy SPI JAR from builder stage
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ quarkus.datasource.user-store.username=${DATAVERSE_DB_USER}
44quarkus.datasource.user-store.password =${DATAVERSE_DB_PASSWORD}
55
66quarkus.datasource.user-store.jdbc.driver =org.postgresql.Driver
7- quarkus.datasource.user-store.jdbc.transactions =disabled
7+ quarkus.datasource.user-store.jdbc.transactions =xa
88
99quarkus.datasource.user-store.jdbc.recovery.username =${DATAVERSE_DB_USER}
1010quarkus.datasource.user-store.jdbc.recovery.password =${DATAVERSE_DB_PASSWORD}
You can’t perform that action at this time.
0 commit comments