Fabien BOURGEOIS
8f5ec97146
* Typo on openupgrade git version ; * easy_install now needs manual wget packages ; * Typo on pip no cache dir option ; * Typo on RUN commands chain...
16 lines
412 B
Docker
16 lines
412 B
Docker
FROM debian:stretch
|
|
LABEL maintainer="Yaltik - Fabien Bourgeois <fabien@yaltik.com>"
|
|
|
|
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
|
|
RUN useradd odoo -m -s /bin/bash
|
|
USER odoo
|
|
COPY *.py /home/odoo/
|
|
WORKDIR /home/odoo
|
|
|
|
CMD ["/bin/true"]
|