FROM centos:7 MAINTAINER Yaltik - Fabien Bourgeois # EPEL for PIP RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm RUN yum --enablerepo=epel -y install python-pip RUN pip install odoorpc # Packages cleanup RUN useradd odoo -m -s /bin/bash USER odoo COPY *.py /home/odoo/ WORKDIR /home/odoo CMD /bin/true