2020-05-17 11:55:55 +02:00
|
|
|
FROM debian:stretch
|
2016-10-03 17:49:15 +02:00
|
|
|
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
|
|
|
|
2018-03-11 12:47:06 +01:00
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends python2.7-minimal python-pip
|
2016-10-03 17:49:15 +02:00
|
|
|
RUN pip2 install odoorpc
|
|
|
|
# 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
|
2016-10-05 08:56:58 +02:00
|
|
|
CMD /bin/true
|