Files
dockerfiles/postgresql
George T Kramer 5c8071308d Add Dockerfile for PostgreSQL
Signed-off-by: George T Kramer <george.t.kramer@intel.com>
2019-03-22 14:36:32 -07:00
..
2019-03-22 14:36:32 -07:00
2019-03-22 14:36:32 -07:00
2019-03-22 14:36:32 -07:00

PostgreSQL

This provides a Clear Linux* PostgreSQL instance.

Build

docker build -t clearlinux/postgresql .

Or just pull it from Dockerhub

docker pull clearlinux/postgresql

Start PostgreSQL Container

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

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