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
This commit is contained in:
christian 2024-07-27 01:28:14 +02:00
parent ea713aa162
commit f8ac16f65b
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak

View file

@ -22,22 +22,8 @@
services: services:
keycloak: keycloak:
build: image: git.hamburg.ccc.de/ccchh/oci-images/keycloak:25.0
context: . pull_policy: always
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"]
restart: unless-stopped restart: unless-stopped
command: start --optimized command: start --optimized
depends_on: depends_on: