Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
/ postgres Public archive
forked from docker-library/postgres

Docker Official Image packaging for Postgres

License

Notifications You must be signed in to change notification settings

plangrid/postgres

 
 

Repository files navigation

PlanGrid Postgres Fork

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.

Upstream updates

# 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

Manual testing

# 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

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.

See a change merged here that doesn't show up on Docker Hub yet?

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 badge
  • build status badge
Build Status Badges (per-arch)
amd64 build status badge arm32v5 build status badge arm32v6 build status badge arm32v7 build status badge
arm64v8 build status badge i386 build status badge mips64le build status badge ppc64le build status badge
s390x build status badge put-shared build status badge

About

Docker Official Image packaging for Postgres

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 57.0%
  • Dockerfile 43.0%