Skip to content

Commit

Permalink
added verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Dec 17, 2024
1 parent 0ce922a commit 297b4ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Dockerfile.22.0.1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV KC_METRICS_ENABLED=true
# Apple Social Identity Provider - https://github.com/klausbetz/apple-identity-provider-keycloak
ADD --chown=keycloak:keycloak https://github.com/klausbetz/apple-identity-provider-keycloak/releases/download/1.10.0/apple-identity-provider-1.10.0.jar /opt/keycloak/providers/apple-identity-provider-1.10.0.jar
# build optimized image
RUN /opt/keycloak/bin/kc.sh build
RUN /opt/keycloak/bin/kc.sh build --verbose
#
FROM quay.io/keycloak/keycloak:22.0.1 as druid-builder
#ENV KC_HEALTH_ENABLED=true
Expand All @@ -16,13 +16,14 @@ ENV KC_METRICS_ENABLED=true
# Install custom providers
COPY druid-social-identity-provider-1.0.2.jar /opt/keycloak/providersdruid-social-identity-provider-1.0.2.jar
# build optimized image
RUN /opt/keycloak/bin/kc.sh build
RUN /opt/keycloak/bin/kc.sh build --verbose
#
#
FROM quay.io/keycloak/keycloak:22.0.1
WORKDIR /opt/keycloak
COPY --from=builder /opt/keycloak/ /opt/keycloak/
COPY --from=druid-builder /opt/keycloak/ /opt/keycloak/
RUN /opt/keycloak/bin/kc.sh build
RUN /opt/keycloak/bin/kc.sh build --verbose
#
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
#
6 changes: 3 additions & 3 deletions Dockerfile.latest
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV KC_METRICS_ENABLED=true
# Apple Social Identity Provider - https://github.com/klausbetz/apple-identity-provider-keycloak
ADD --chown=keycloak:keycloak https://github.com/klausbetz/apple-identity-provider-keycloak/releases/download/1.10.0/apple-identity-provider-1.10.0.jar /opt/keycloak/providers/apple-identity-provider-1.10.0.jar
# build optimized image
RUN /opt/keycloak/bin/kc.sh build
RUN /opt/keycloak/bin/kc.sh build --verbose
#
FROM quay.io/keycloak/keycloak:latest as druid-builder
#ENV KC_HEALTH_ENABLED=true
Expand All @@ -16,14 +16,14 @@ ENV KC_METRICS_ENABLED=true
# Install custom providers
COPY druid-social-identity-provider-1.0.2.jar /opt/keycloak/providersdruid-social-identity-provider-1.0.2.jar
# build optimized image
RUN /opt/keycloak/bin/kc.sh build
RUN /opt/keycloak/bin/kc.sh build --verbose
#
#
FROM quay.io/keycloak/keycloak:latest
WORKDIR /opt/keycloak
COPY --from=builder /opt/keycloak/ /opt/keycloak/
COPY --from=druid-builder /opt/keycloak/ /opt/keycloak/
RUN /opt/keycloak/bin/kc.sh build
RUN /opt/keycloak/bin/kc.sh build --verbose
#
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
#

0 comments on commit 297b4ae

Please sign in to comment.