Skip to content

Commit

Permalink
add: version 25.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
3sky committed Jun 20, 2024
1 parent b1f585a commit 0cc82a9
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=latest
ARG VERSION=25.0.0
ARG BUILD_DATE=today

FROM quay.io/keycloak/keycloak:${VERSION} as builder
Expand All @@ -7,18 +7,25 @@ LABEL vendor="3sky.dev" \
maintainer="Kuba Wolynko <[email protected]>" \
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

Expand Down

0 comments on commit 0cc82a9

Please sign in to comment.