Files
dockerfiles/postgres
Liu, Jianjun e6fdf7709f Minimize postgres container size using the os-core container
Convert postgres container to be based on the minimal os-core
container, using a multistage build technique to add additional
Clear Linux content.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-06-13 15:42:01 +08:00
..

PostgreSQL

This provides a Clear Linux* PostgreSQL instance.

Build

docker build -t clearlinux/postgres .

Or just pull it from Dockerhub

docker pull clearlinux/postgres

Start PostgreSQL Container

docker run -p 5432:5432 -e POSTGRES_PASSWORD=secret -d clearlinux/postgres

Environment Variables

  • See Environment Variables section of the official postgres image page.

Extra Build ARGs

  • swupd_args Specifies SWUPD flags

Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg