docker_images/odoo/scripts/Dockerfile.c7

17 lines
466 B
Docker
Raw Normal View History

FROM oraclelinux:7
LABEL maintainer="Yaltik - Fabien Bourgeois <fabien@yaltik.com>"
2020-05-17 07:49:44 +02:00
# EPEL for PIP
RUN yum -y install oracle-epel-release-el7 && \
yum -y install python2-pip && \
yum clean all && \
pip install --no-cache-dir --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org 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"]