From 5e341a07b6d59c7cffc5b1159c2ef1184fd10454 Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 30 Nov 2024 19:58:57 +0100 Subject: [PATCH] Update Keycloak in Docker to 26.0 --- Dockerfile | 4 ++-- docker-compose.yml | 1 - keycloak/conf/quarkus.properties | 4 ---- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 keycloak/conf/quarkus.properties diff --git a/Dockerfile b/Dockerfile index 829ff69..40f1601 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM maven:3-amazoncorretto-23-debian-bookworm AS provider +FROM maven:3-eclipse-temurin-17 AS provider COPY src/ /opt/keycloak-provider/src COPY pom.xml /opt/keycloak-provider/pom.xml @@ -7,7 +7,7 @@ WORKDIR /opt/keycloak-provider RUN mvn clean package -DskipTests -FROM quay.io/keycloak/keycloak:24.0 +FROM quay.io/keycloak/keycloak:26.0 COPY --chown=keycloak:keycloak --from=provider /opt/keycloak-provider/target/*.jar /opt/keycloak/providers/ ENV KC_HOSTNAME=localhost diff --git a/docker-compose.yml b/docker-compose.yml index a9f96f1..40d9610 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,7 +17,6 @@ services: - "start-dev" - "--debug" volumes: - - ./keycloak/conf/quarkus.properties:/opt/keycloak/conf/quarkus.properties:ro - ./keycloak/keywind.jar:/opt/keycloak/providers/keywind.jar - ./keycloak/systemli.jar:/opt/keycloak/providers/systemli.jar diff --git a/keycloak/conf/quarkus.properties b/keycloak/conf/quarkus.properties deleted file mode 100644 index 9efeaba..0000000 --- a/keycloak/conf/quarkus.properties +++ /dev/null @@ -1,4 +0,0 @@ -quarkus.datasource.userli.username=mail -quarkus.datasource.userli.password=password -quarkus.datasource.userli.jdbc.url=jdbc:mysql://userli:3306/mail -quarkus.datasource.userli.db-kind=mysql