2024-07-27 01:16:31 +02:00
|
|
|
ARG TAG=latest
|
|
|
|
FROM quay.io/keycloak/keycloak:${TAG} as builder
|
|
|
|
|
|
|
|
ENV KC_DB=postgres
|
|
|
|
|
|
|
|
WORKDIR /opt/keycloak
|
|
|
|
RUN /opt/keycloak/bin/kc.sh build
|
|
|
|
|
|
|
|
FROM quay.io/keycloak/keycloak:${TAG}
|
|
|
|
COPY --from=builder /opt/keycloak/ /opt/keycloak/
|
2024-07-27 01:48:44 +02:00
|
|
|
ADD themes/ /opt/keycloak/themes/
|
2024-07-27 01:16:31 +02:00
|
|
|
|
|
|
|
# Runtime options to be set in compose directly.
|
|
|
|
|
|
|
|
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
|