[ADD]Flectra : two images for PostgreSQL 9.6 and 10
This commit is contained in:
parent
fe3ff6b90b
commit
4abb6bf62e
@ -125,7 +125,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./flectra
|
context: ./flectra
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: registry.yaltik.net/flectra:yaltik1
|
image: registry.yaltik.net/flectra:yaltik1pg96
|
||||||
environment:
|
environment:
|
||||||
DB_MAXCONN: 20
|
DB_MAXCONN: 20
|
||||||
XMLRPC_PORT: 8069
|
XMLRPC_PORT: 8069
|
||||||
@ -138,6 +138,16 @@ services:
|
|||||||
POSTGRES_USER: flectra
|
POSTGRES_USER: flectra
|
||||||
POSTGRES_PASSWORD: somethingToChange
|
POSTGRES_PASSWORD: somethingToChange
|
||||||
|
|
||||||
|
flectrapg10:
|
||||||
|
init: true
|
||||||
|
extends:
|
||||||
|
file: base.yml
|
||||||
|
service: flectra
|
||||||
|
build:
|
||||||
|
context: ./flectra
|
||||||
|
dockerfile: Dockerfile.pg10
|
||||||
|
image: registry.yaltik.net/flectra:yaltik1pg10
|
||||||
|
|
||||||
odoocmd:
|
odoocmd:
|
||||||
build:
|
build:
|
||||||
context: ./scripts
|
context: ./scripts
|
||||||
|
12
odoo/flectra/Dockerfile.pg10
Normal file
12
odoo/flectra/Dockerfile.pg10
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM registry.yaltik.net/flectra:yaltik1pg96
|
||||||
|
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
|
USER root
|
||||||
|
# PostgreSQL 10.x
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends gnupg
|
||||||
|
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main" \
|
||||||
|
> /etc/apt/sources.list.d/postgresql.list \
|
||||||
|
&& curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
||||||
|
&& apt-get update \
|
||||||
|
&& apt-get install -y libpq-dev postgresql-client-10
|
||||||
|
USER flectra
|
Loading…
Reference in New Issue
Block a user