From c4d383051ff78788893a8505ca639a9a9c70ea6b Mon Sep 17 00:00:00 2001 From: aynsix Date: Mon, 11 Dec 2023 16:56:15 +0300 Subject: [PATCH] initialize creation keycloak theme --- infra/docker/keycloak/Dockerfile | 3 +++ infra/docker/keycloak/themes/phrasea/email/theme.properties | 2 ++ infra/docker/keycloak/themes/phrasea/login/theme.properties | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 infra/docker/keycloak/themes/phrasea/email/theme.properties create mode 100644 infra/docker/keycloak/themes/phrasea/login/theme.properties diff --git a/infra/docker/keycloak/Dockerfile b/infra/docker/keycloak/Dockerfile index e9ca27e9a..e2aad3e8b 100644 --- a/infra/docker/keycloak/Dockerfile +++ b/infra/docker/keycloak/Dockerfile @@ -19,6 +19,9 @@ COPY --from=spi-builder /app/jq-idp-mapper/target/jq-idp-mapper-jar-with-depende RUN /opt/keycloak/bin/kc.sh build +RUN mkdir /opt/keycloak/themes/phrasea +COPY themes/phrasea /opt/keycloak/themes/phrasea + FROM quay.io/keycloak/keycloak:22.0.1 as keycloak diff --git a/infra/docker/keycloak/themes/phrasea/email/theme.properties b/infra/docker/keycloak/themes/phrasea/email/theme.properties new file mode 100644 index 000000000..ca5bcb85a --- /dev/null +++ b/infra/docker/keycloak/themes/phrasea/email/theme.properties @@ -0,0 +1,2 @@ +parent=base +import=common/keycloak diff --git a/infra/docker/keycloak/themes/phrasea/login/theme.properties b/infra/docker/keycloak/themes/phrasea/login/theme.properties new file mode 100644 index 000000000..ca5bcb85a --- /dev/null +++ b/infra/docker/keycloak/themes/phrasea/login/theme.properties @@ -0,0 +1,2 @@ +parent=base +import=common/keycloak