Skip to content

MaastrichtU-Library/postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

postgres

Postgres image mirror from https://hub.docker.com/_/postgres

cf. Github repository: https://github.com/docker-library/docs/tree/master/postgres

Hosted on GitHub Container Registry (ghcr.io) to avoid DockerHub pull limitations, and easily deploy on clusters (such as Kubernetes).

Automatically updated

Publish Docker image

The image on ghcr.io is automatically updated every week (Monday at 3:00 GMT+1) by a GitHub Actions workflow to match the latest tag of Postgres

Run

docker run -it -v $(pwd):/root ghcr.io/maastrichtu-library/postgres:latest

In the container:

  • User, with sudo privileges: root
  • Workspace path: /root

Set entrypoint to tail -f /dev/null to keep it hanging as a service.

docker run -it --entrypoint tail -v $(pwd):/root ghcr.io/maastrichtu-library/postgres:latest -f /dev/null

Build

Feel free to edit the Dockerfile to install additional packages in the image.

docker build -t ghcr.io/maastrichtu-library/postgres:latest .

Push

docker push ghcr.io/maastrichtu-library/postgres:latest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages