From 93ade44c6b5f25b409c41f04c18e22737e74d69b Mon Sep 17 00:00:00 2001 From: Ingo Schuck Date: Thu, 7 May 2026 21:50:12 +0200 Subject: [PATCH] Revert "fix all entrypoint.sh permissions to 755" This reverts commit c7ac6b7666eb4ae9bd40e9665c23f27a2cedb3d9. --- images/custom/Containerfile | 2 +- images/layered/Containerfile | 2 +- images/production/Containerfile | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/images/custom/Containerfile b/images/custom/Containerfile index 9528688b..084104b3 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -163,7 +163,7 @@ VOLUME [ \ USER root # This entrypoint script link build assets of the image to the mounted sites volume at container initialization COPY resources/core/main-entrypoint.sh /usr/local/bin/entrypoint.sh -RUN chmod 755 /usr/local/bin/entrypoint.sh +RUN chmod +x /usr/local/bin/entrypoint.sh USER frappe ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] diff --git a/images/layered/Containerfile b/images/layered/Containerfile index c3326ddd..18511c61 100644 --- a/images/layered/Containerfile +++ b/images/layered/Containerfile @@ -47,7 +47,7 @@ VOLUME [ \ USER root # This entrypoint script link build assets of the image to the mounted sites volume at container initialization COPY resources/core/main-entrypoint.sh /usr/local/bin/entrypoint.sh -RUN chmod 755 /usr/local/bin/entrypoint.sh +RUN chmod ugo+rx /usr/local/bin/entrypoint.sh USER frappe ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] diff --git a/images/production/Containerfile b/images/production/Containerfile index 7ad4089d..983dc2ea 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -82,7 +82,6 @@ RUN useradd -ms /bin/bash frappe \ COPY resources/core/nginx/nginx-template.conf /templates/nginx/frappe.conf.template COPY resources/core/nginx/nginx-entrypoint.sh /usr/local/bin/nginx-entrypoint.sh COPY resources/core/nginx/security_headers.conf /etc/nginx/snippets/security_headers.conf -RUN chmod 755 /usr/local/bin/nginx-entrypoint.sh FROM base AS build @@ -154,7 +153,7 @@ VOLUME [ \ USER root # This entrypoint script link build assets of the image to the mounted sites volume at container initialization COPY resources/core/main-entrypoint.sh /usr/local/bin/entrypoint.sh -RUN chmod 755 /usr/local/bin/entrypoint.sh +RUN chmod +x /usr/local/bin/entrypoint.sh USER frappe ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]