FROM registry.yaltik.net/odoocmd:yaltikc7 MAINTAINER Yaltik - Fabien Bourgeois ENV ODOO_ADMIN_PASSWORD admin ENV ODOO_DATABASES demo WORKDIR /home/odoo USER root RUN mkdir backups RUN yum install -y gettext cronie # Avoid overlayfs bug with tail VOLUME /var/log COPY crontab ./crontab COPY backup.template . COPY plan.py . COPY launch.c7.sh launch.sh RUN chown -R odoo:odoo . VOLUME /home/odoo/backups CMD bash launch.sh