Skip to content

enoot/psql-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psql-client

Docker images for PostgreSQL client based on Alpine Linux.

Features

  • Lightweight Alpine Linux base (Alpine 3.22)
  • PostgreSQL client version 17.5
  • Runs as non-root user for security
  • Automatically built and pushed to GitHub Container Registry (GHCR)

Usage

Pull the image from GHCR:

docker pull ghcr.io/enoot/psql-client:17.5
# or
docker pull ghcr.io/enoot/psql-client:latest

Run psql client:

docker run --rm ghcr.io/enoot/psql-client:17.5 --version

Connect to a PostgreSQL database:

docker run --rm -it ghcr.io/enoot/psql-client:17.5 -h hostname -U username -d database

Building Locally

docker build -t psql-client:local .

Available Tags

  • 17.5 - PostgreSQL client version 17.5
  • latest - Latest version (currently 17.5)
  • main - Latest build from the main branch

License

See LICENSE file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •