June
00158d0205
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
This way the Keycloak host can simply pull a finished image and doesn't need to build a Keycloak image itself. Co-authored-by: c6ristian <c6ristian@christian.moe>
15 lines
320 B
Docker
15 lines
320 B
Docker
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/
|
|
|
|
# Runtime options to be set in compose directly.
|
|
|
|
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
|