From 0cc82a906f13af0b04c7915066c5a877d8da3571 Mon Sep 17 00:00:00 2001 From: Kuba Wolynko Date: Thu, 20 Jun 2024 15:49:01 +0200 Subject: [PATCH] add: version 25.0.0 --- Dockerfile | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 62fee43..e771736 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG VERSION=latest +ARG VERSION=25.0.0 ARG BUILD_DATE=today FROM quay.io/keycloak/keycloak:${VERSION} as builder @@ -7,18 +7,25 @@ LABEL vendor="3sky.dev" \ maintainer="Kuba Wolynko " \ name="Keyclock for Aurora usage" \ arch="x86" \ - build-date=${BUILD_DATE} - + build-date=${BUILD_DATE} # Enable health and metrics support ENV KC_HEALTH_ENABLED=true ENV KC_METRICS_ENABLED=true ENV KC_DB=postgres - WORKDIR /opt/keycloak # use ALB on top, self-sign is fine here -RUN keytool -genkeypair -storepass password -storetype PKCS12 -keyalg RSA -keysize 2048 -dname "CN=server" -alias server -ext "SAN:c=DNS:localhost,IP:127.0.0.1" -keystore conf/server.keystore +RUN keytool -genkeypair \ + -storepass password \ + -storetype PKCS12 \ + -keyalg RSA \ + -keysize 2048 \ + -dname "CN=server" \ + -alias server \ + -ext "SAN:c=DNS:localhost,IP:127.0.0.1" \ + -keystore conf/server.keystore + ADD --chmod=0666 https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.3.6/aws-advanced-jdbc-wrapper-2.3.6.jar /opt/keycloak/providers/aws-advanced-jdbc-wrapper.jar RUN /opt/keycloak/bin/kc.sh build