This repo has been forked from docker-library/postgres and customized for the ADSK / PlanGrid usage.
Notable changes include:
- Debian files
- Installation of the HyperLogLog (HLL) extension as required by plangrid-insights.
- Removal of volume for data as this does not get cleaned up when the container is torn down (see PlanGrid: DEVOPS-620).
- Note: Alpine files have not been updated.
- Removal of
./github/workflows/
files to prevent unnecessary GitHub CI builds for this fork. - Jenkins build file for pushing images to ECR.
# Create an update branch
$ git checkout master
$ git pull
$ git checkout -b my_update_branch
# Merge the update branch with the upstream repo
$ git remote add upstream [email protected]:docker-library/postgres.git
$ git fetch upstream
$ git merge upstream/master
# Build the image
$ docker build -t plangrid_postgres_12 12/
# Run the image
$ docker run -dp 15432:5432 -e POSTGRES_PASSWORD=password123 plangrid_postgres_12
# Connect to the database
$ psql "postgres://postgres:password123@localhost:15432"
-- Verify the version
postgres=# SELECT version();
-- Verify that the hll extension can be created
postgres=# CREATE EXTENSION hll;
-- Verify that the Encoding and Collate is en_US.utf8
postgres=# \l
Maintained by: the PostgreSQL Docker Community
This is the Git repo of the Docker "Official Image" for postgres
(not to be confused with any official postgres
image provided by postgres
upstream). See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.
The full image description on Docker Hub is generated/maintained over in the docker-library/docs repository, specifically in the postgres
directory.
For more information about the full official images change lifecycle, see the "An image's source changed in Git, now what?" FAQ entry.
For outstanding postgres
image PRs, check PRs with the "library/postgres" label on the official-images repository. For the current "source of truth" for postgres
, see the library/postgres
file in the official-images repository.
Build | Status | Badges | (per-arch) |
---|---|---|---|