docker_images/odoo/scripts/Dockerfile.c7

17 lines
432 B
Docker
Raw Normal View History

2020-05-17 07:49:44 +02:00
FROM centos:7
LABEL maintainer="Yaltik - Fabien Bourgeois <fabien@yaltik.com>"
2020-05-17 07:49:44 +02:00
# EPEL for PIP
RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
yum --enablerepo=epel -y install python-pip && \
yum clean all && \
pip install --no-cache-dir odoorpc==0.8.0
2020-05-17 07:49:44 +02:00
# Useradd
2020-05-17 07:49:44 +02:00
RUN useradd odoo -m -s /bin/bash
USER odoo
COPY *.py /home/odoo/
WORKDIR /home/odoo
CMD ["/bin/true"]