[ADD]OdooCMD on CentOS7
This commit is contained in:
parent
909cf69c77
commit
b529a678ff
@ -110,6 +110,12 @@ services:
|
|||||||
context: ./scripts
|
context: ./scripts
|
||||||
image: registry.yaltik.net/odoocmd:yaltik
|
image: registry.yaltik.net/odoocmd:yaltik
|
||||||
|
|
||||||
|
odoocmdc7:
|
||||||
|
build:
|
||||||
|
context: ./scripts
|
||||||
|
dockerfile: Dockerfile.c7
|
||||||
|
image: registry.yaltik.net/odoocmd:yaltikc7
|
||||||
|
|
||||||
odoobackup:
|
odoobackup:
|
||||||
build:
|
build:
|
||||||
context: ./backups
|
context: ./backups
|
||||||
|
14
odoo/scripts/Dockerfile.c7
Normal file
14
odoo/scripts/Dockerfile.c7
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
FROM centos:7
|
||||||
|
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
|
# EPEL for PIP
|
||||||
|
RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||||
|
RUN yum --enablerepo=epel -y install python-pip
|
||||||
|
|
||||||
|
RUN pip install odoorpc
|
||||||
|
# Packages cleanup
|
||||||
|
RUN useradd odoo -m -s /bin/bash
|
||||||
|
USER odoo
|
||||||
|
COPY *.py /home/odoo/
|
||||||
|
WORKDIR /home/odoo
|
||||||
|
CMD /bin/true
|
Loading…
Reference in New Issue
Block a user