Fabien BOURGEOIS
8f5ec97146
* Typo on openupgrade git version ; * easy_install now needs manual wget packages ; * Typo on pip no cache dir option ; * Typo on RUN commands chain...
25 lines
597 B
Docker
25 lines
597 B
Docker
FROM registry.yaltik.net/odoocmd:yaltik
|
|
LABEL maintainer="Yaltik - Fabien Bourgeois <fabien@yaltik.com>"
|
|
|
|
ENV ODOO_ADMIN_PASSWORD="admin" ODOO_DATABASES="demo"
|
|
|
|
USER root
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends cron gettext-base curl && \
|
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
USER odoo
|
|
|
|
COPY crontab /home/odoo/
|
|
COPY backup.template /home/odoo/
|
|
COPY hc.template /home/odoo/
|
|
COPY plan.py /home/odoo/
|
|
COPY launch.sh /home/odoo/
|
|
|
|
RUN mkdir -p backups
|
|
# Avoid overlayfs bug with tail
|
|
VOLUME /var/log
|
|
VOLUME /home/odoo/backups
|
|
|
|
CMD ["bash", "launch.sh"]
|