[ADD]Flectra Dev PG10

This commit is contained in:
Fabien BOURGEOIS 2018-11-16 16:21:16 +01:00
parent 4abb6bf62e
commit 73daa49691
2 changed files with 22 additions and 1 deletions

View File

@ -96,7 +96,7 @@ services:
build: build:
context: ./flectra context: ./flectra
dockerfile: Dockerfile.dev dockerfile: Dockerfile.dev
image: registry.yaltik.net/flectradev:yaltik1 image: registry.yaltik.net/flectradev:yaltik1pg96
environment: environment:
DEV: 1 DEV: 1
CODE_FOLDER: code CODE_FOLDER: code
@ -109,3 +109,12 @@ services:
LIMIT_MEMORY_SOFT: 7000000000 LIMIT_MEMORY_SOFT: 7000000000
LIMIT_MEMORY_HARD: 16000000000 LIMIT_MEMORY_HARD: 16000000000
flectradevpg10:
init: true
extends:
file: dev.yml
service: flectradev
build:
context: ./flectra
dockerfile: Dockerfile.dev.pg10
image: registry.yaltik.net/flectradev:yaltik1pg10

View File

@ -0,0 +1,12 @@
FROM registry.yaltik.net/flectradev: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