From f8ac16f65bad0a15760f50f84f0a0e110c0a7e91 Mon Sep 17 00:00:00 2001 From: c6ristian Date: Sat, 27 Jul 2024 01:28:14 +0200 Subject: [PATCH] Use our Keycloak custom image We build our custom Keycloak image with our own theme located at https://git.hamburg.ccc.de/CCCHH/oci-images --- .../configs/keycloak/compose.yaml.j2 | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/playbooks/templates/chaosknoten/configs/keycloak/compose.yaml.j2 b/playbooks/templates/chaosknoten/configs/keycloak/compose.yaml.j2 index bd9e8eb..0ec3b36 100644 --- a/playbooks/templates/chaosknoten/configs/keycloak/compose.yaml.j2 +++ b/playbooks/templates/chaosknoten/configs/keycloak/compose.yaml.j2 @@ -22,22 +22,8 @@ services: keycloak: - build: - context: . - dockerfile_inline: | - FROM quay.io/keycloak/keycloak:25.0 as builder - - ENV KC_DB=postgres - - WORKDIR /opt/keycloak - RUN /opt/keycloak/bin/kc.sh build - - FROM quay.io/keycloak/keycloak:25.0 - COPY --from=builder /opt/keycloak/ /opt/keycloak/ - - # Runtime options set in compose directly. - - ENTRYPOINT ["/opt/keycloak/bin/kc.sh"] + image: git.hamburg.ccc.de/ccchh/oci-images/keycloak:25.0 + pull_policy: always restart: unless-stopped command: start --optimized depends_on: