2020-05-17 11:55:55 +02:00
|
|
|
FROM debian:stretch
|
2022-02-28 20:19:10 +01:00
|
|
|
LABEL maintainer="Yaltik - Fabien Bourgeois <fabien@yaltik.com>"
|
2016-10-03 17:49:15 +02:00
|
|
|
|
2022-02-28 20:19:10 +01:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y --no-install-recommends python2.7-minimal python-pip && \
|
|
|
|
apt-get clean rm -rf /var/lib/apt/lists/* && \
|
|
|
|
pip2 install --no-cache-dir odoorpc==0.8.0
|
|
|
|
|
|
|
|
# Useradd
|
2016-10-03 17:49:15 +02:00
|
|
|
RUN useradd odoo -m -s /bin/bash
|
|
|
|
USER odoo
|
|
|
|
COPY *.py /home/odoo/
|
|
|
|
WORKDIR /home/odoo
|
2022-02-28 20:19:10 +01:00
|
|
|
|
|
|
|
CMD ["/bin/true"]
|