setup automated Keycloak image builds with Woodpecker, kaniko and crane
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
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>
This commit is contained in:
commit
00158d0205
2 changed files with 70 additions and 0 deletions
14
keycloak/Containerfile
Normal file
14
keycloak/Containerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue