Odoo: force postgres version in pg docker command line

The odoo docker image is based on debian:jessie, which only has
postgresql-client-9.4, while the official postgres docker
is 9.5. This causes a version mismatch and errors when using the
postgres command-line tools, such as `pg_dump`.

Fixes odoo/odoo#12275
Fixes odoo/docker#49
Fixes odoo/docker#54
Fixes odoo/docker#59
This commit is contained in:
Olivier Dony 2016-06-07 13:46:58 +02:00
parent 0417da3f28
commit b5afa0d1d3
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ This image requires a running PostgreSQL server.
## Start a PostgreSQL server ## Start a PostgreSQL server
```console ```console
$ docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo --name db postgres $ docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo --name db postgres:9.4
``` ```
## Start an Odoo instance ## Start an Odoo instance