diff --git a/odoo/backups/Dockerfile b/odoo/backups/Dockerfile index dd34dc6..a50240d 100644 --- a/odoo/backups/Dockerfile +++ b/odoo/backups/Dockerfile @@ -21,4 +21,5 @@ RUN mkdir -p backups VOLUME /var/log VOLUME /home/odoo/backups +USER root CMD ["bash", "launch.sh"] diff --git a/odoo/backups/Dockerfile.c7 b/odoo/backups/Dockerfile.c7 index b4d96f5..242f2ab 100644 --- a/odoo/backups/Dockerfile.c7 +++ b/odoo/backups/Dockerfile.c7 @@ -12,11 +12,12 @@ COPY crontab /home/odoo/ COPY backup.template /home/odoo/ COPY hc.template /home/odoo/ COPY plan.py /home/odoo/ -COPY launch.c7.sh /home/odoo/ +COPY launch.c7.sh /home/odoo/launch.sh RUN mkdir -p backups # Avoid overlayfs bug with tail VOLUME /var/log VOLUME /home/odoo/backups +USER root CMD ["bash", "launch.sh"]