docker_images/odoo/scripts/Dockerfile.c7

15 lines
367 B
Docker

FROM centos:7
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# 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