Skip to content

Dockerized PostgreSQL with pghashlib and plproxy plugins

Notifications You must be signed in to change notification settings

dimagi/docker-postgresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

PostgreSQL Docker Plus

This builds on the official PostgreSQL docker image to add the following plugins:

Process for creating a Dockerhub image for a new Postgres version

  • Create or checkout the branch for the major version of Postgres. (example: git checkout 14).
  • Update the Dockerfile with the specific point release of Postgres (example: 14.3).
  • Build the image using the process documented below.
  • Update the Dockerfile and repeat previous step as necessary until success.
  • Commit changes.
  • Create a tag for the point release (example: git tag 14.3).
  • Push the branch and tags (example: git push; git push --tags).
  • Verify build is queued on Dockerhub.

Building manually

export tag=<version-tag>
export base_image=dimagi/docker-postgresql
export image=$base_image:$tag

# list existing image
docker images "$base_image"

# optional: forcibly remove old container and image
docker rm -fv "$image"
docker rmi "$image"

# build new image
docker build -t "$image" .

About

Dockerized PostgreSQL with pghashlib and plproxy plugins

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •