docker_images/odoo/scripts/Dockerfile
Fabien BOURGEOIS 8f5ec97146 [FIX][TYPO]Multiple fixes for new images
* Typo on openupgrade git version ;
* easy_install now needs manual wget packages ;
* Typo on pip no cache dir option ;
* Typo on RUN commands chain...
2022-03-01 08:49:03 +01:00

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"]