Skip to content

Commit

Permalink
25.0.2 bump. no more default cert in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
xgp committed Jul 18, 2024
1 parent c32204f commit 557e4be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:
- main

env:
# Version 25.0.1
# Version 25.0.2
VERSION_MAJOR: 25
VERSION_SUBMAJOR: 0
VERSION_MINOR: 1
VERSION_MINOR: 2

jobs:
release-public:
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/phasetwo/keycloak-crdb:25.0.1 as builder
FROM quay.io/phasetwo/keycloak-crdb:25.0.2 as builder

ENV KC_METRICS_ENABLED=true
ENV KC_HEALTH_ENABLED=true
Expand All @@ -17,7 +17,7 @@ COPY ./libs/target/container*/*.jar /opt/keycloak/providers/

RUN /opt/keycloak/bin/kc.sh --verbose build --spi-email-template-provider=freemarker-plus-mustache --spi-email-template-freemarker-plus-mustache-enabled=true --spi-theme-cache-themes=false

FROM quay.io/phasetwo/keycloak-crdb:25.0.1
FROM quay.io/phasetwo/keycloak-crdb:25.0.2

#USER root
# remediation for vulnerabilities
Expand All @@ -35,5 +35,5 @@ COPY --from=builder /opt/keycloak/conf/cache-ispn-jdbc-ping.xml /opt/keycloak/co

WORKDIR /opt/keycloak
# this cert shouldn't be used, as it's just to stop the startup from complaining
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

2 changes: 1 addition & 1 deletion libs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<keycloak.version>25.0.1</keycloak.version>
<keycloak.version>25.0.2</keycloak.version>
<keycloak-events.version>0.30</keycloak-events.version>
<keycloak-magic-link.version>0.27</keycloak-magic-link.version>
<keycloak-orgs.version>0.77</keycloak-orgs.version>
Expand Down

0 comments on commit 557e4be

Please sign in to comment.