From d638e12f32d2625b569f573ed174f2af7554cc44 Mon Sep 17 00:00:00 2001 From: Nithin Shekar Kuruba Date: Tue, 26 Nov 2024 17:07:07 -0800 Subject: [PATCH] feat: kc image build debug #4 --- docker/keycloak/Dockerfile-26 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/keycloak/Dockerfile-26 b/docker/keycloak/Dockerfile-26 index 62183570..70865847 100644 --- a/docker/keycloak/Dockerfile-26 +++ b/docker/keycloak/Dockerfile-26 @@ -19,15 +19,15 @@ COPY --from=extensions-builder --chown=keycloak:keycloak --chmod=644 /tmp/servic WORKDIR /opt/keycloak # copy the theme directory to `/opt/keycloak/themes/` for now, but we can consider to archive to be deployed later. -COPY ./extensions-26/themes/src/main/resources/theme /opt/keycloak/themes +COPY --chown=keycloak:keycloak --chmod=644 ./extensions-26/themes/src/main/resources/theme /themes -COPY ./configuration/26/keycloak.conf /opt/keycloak/conf +COPY --chown=keycloak:keycloak --chmod=644 ./configuration/26/keycloak.conf /conf -COPY ./configuration/26/quarkus.properties /opt/keycloak/conf +COPY --chown=keycloak:keycloak --chmod=644 ./configuration/26/quarkus.properties /conf -COPY ./configuration/26/keycloak-default-user-profile.json /tmp +COPY --chown=keycloak:keycloak --chmod=644 ./configuration/26/keycloak-default-user-profile.json /tmp -RUN /opt/keycloak/bin/kc.sh build --verbose +RUN /bin/kc.sh build --verbose # change these values to point to a running postgres instance -ENTRYPOINT ["/opt/keycloak/bin/kc.sh"] +ENTRYPOINT ["/bin/kc.sh"]