[IMP]PGCLI for GOLEM Dev too

This commit is contained in:
Fabien BOURGEOIS 2018-03-11 13:37:58 +01:00
parent 9c28138c0e
commit 7100085c83
3 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,10 @@
FROM registry.yaltik.net/golem:yaltikmaster
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# PostgreSQL CLI
RUN pip install --user pgcli
COPY pgcli.sh ./
# Odoo specific
RUN pip install --user watchdog
COPY shell10.sh ./
COPY launch10.dev.sh ./launch10.sh

View File

@ -1,6 +1,10 @@
FROM registry.yaltik.net/golem:yaltikstable
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# PostgreSQL CLI
RUN pip install --user pgcli
COPY pgcli.sh ./
# Odoo specific
RUN pip install --user watchdog
COPY shell10.sh ./
COPY launch10.dev.sh ./launch10.sh

3
odoo/golem/pgcli.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
./.local/bin/pgcli postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@${DB_HOST:=postgres}