diff --git a/15.0/Dockerfile b/15.0/Dockerfile index 2e553a324..86e859627 100644 --- a/15.0/Dockerfile +++ b/15.0/Dockerfile @@ -67,6 +67,9 @@ RUN curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/od COPY ./entrypoint.sh / COPY ./odoo.conf /etc/odoo/ +# Ensure that entrypoint script has permissions to r/w/x for owner and group, and r/_/x for others +RUN chmod 775 /entrypoint.sh + # Set permissions and Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons RUN chown odoo /etc/odoo/odoo.conf \ && mkdir -p /mnt/extra-addons \ diff --git a/16.0/Dockerfile b/16.0/Dockerfile index 6d90a0ac9..be0342e71 100644 --- a/16.0/Dockerfile +++ b/16.0/Dockerfile @@ -81,6 +81,9 @@ RUN curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/od COPY ./entrypoint.sh / COPY ./odoo.conf /etc/odoo/ +# Ensure that entrypoint script has permissions to r/w/x for owner and group, and r/_/x for others +RUN chmod 775 /entrypoint.sh + # Set permissions and Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons RUN chown odoo /etc/odoo/odoo.conf \ && mkdir -p /mnt/extra-addons \ diff --git a/17.0/Dockerfile b/17.0/Dockerfile index 641de2132..1c1b0d4ef 100644 --- a/17.0/Dockerfile +++ b/17.0/Dockerfile @@ -83,6 +83,9 @@ RUN curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/od COPY ./entrypoint.sh / COPY ./odoo.conf /etc/odoo/ +# Ensure that entrypoint script has permissions to r/w/x for owner and group, and r/_/x for others +RUN chmod 775 /entrypoint.sh + # Set permissions and Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons RUN chown odoo /etc/odoo/odoo.conf \ && mkdir -p /mnt/extra-addons \