docker_images/odoo/scripts/Dockerfile

14 lines
404 B
Docker

FROM debian:jessie
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
RUN apt-get update && apt-get install -y --no-install-recommends python2.7-minimal python-pip python-psycopg2
RUN pip2 install odoorpc
RUN pip2 install pgcli
# Packages cleanup
RUN apt-get purge -y --auto-remove && apt-get clean
RUN useradd odoo -m -s /bin/bash
USER odoo
COPY *.py /home/odoo/
WORKDIR /home/odoo
CMD /bin/true