Name: postgresql-container
Owner: Software Collections
Description: PostgreSQL container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
Created: 2015-03-18 15:15:33.0
Updated: 2018-05-15 09:42:01.0
Pushed: 2018-05-16 07:16:42.0
Homepage: http://softwarecollections.org
Size: 441
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository contains Dockerfiles for PostgreSQL images for OpenShift. Users can choose between RHEL, Fedora and CentOS based images.
For more information about using these images with OpenShift, please see the official OpenShift Documentation.
For more information about contributing, see the Contribution Guidelines. For more information about concepts used in these container images, see the Landing page.
PostgreSQL versions currently provided are:
RHEL versions currently supported are:
CentOS versions currently supported are:
Choose either the CentOS7 or RHEL7 based image:
RHEL7 based image
These images are available in the Red Hat Container Catalog. To download it run:
er pull registry.access.redhat.com/rhscl/postgresql-10-rhel7
To build a RHEL7 based image, you need to run Docker build on a properly subscribed RHEL machine.
t clone --recursive https://github.com/sclorg/postgresql-container.git
postgresql
ke build TARGET=rhel7 VERSIONS=10
CentOS7 based image
These images are available on DockerHub. To download it run:
cker pull centos/postgresql-10-centos7
To build a PostgreSQL image from scratch run:
t clone --recursive https://github.com/sclorg/postgresql-container.git
postgresql
ke build TARGET=centos7 VERSIONS=10
Notice: By omitting the VERSIONS
parameter, the build/test action will be performed
on all provided versions of PostgreSQL.
In this repository distgen is used for generating image source files. If you'd like update a Dockerfile, please make changes in specs/multispec.yml and/or Dockerfile.template (or other distgen file) and run make generate
.
For information about usage of Dockerfile for PostgreSQL 9.5, see usage documentation.
For information about usage of Dockerfile for PostgreSQL 9.6, see usage documentation.
For information about usage of Dockerfile for PostgreSQL 10, see usage documentation.
This repository also provides a test framework, which checks basic functionality of the PostgreSQL image.
Users can choose between testing PostgreSQL based on a RHEL or CentOS image.
RHEL based image
To test a RHEL7 based PostgreSQL image, you need to run the test on a properly subscribed RHEL machine.
postgresql
ke test TARGET=rhel7 VERSIONS=10
CentOS based image
postgresql
ke test TARGET=centos7 VERSIONS=10
+By using the TEST_CASE
parameter you can choose a test case subset to be run against the image, eg:
$ cd postgresql $ make test VERSIONS=10 TEST_CASE=“run_general_tests run_replication_test”
Notice: By omitting the VERSIONS
parameter, the build/test action will be performed
on all provided versions of PostgreSQL.