Sign inSign up

cheewai/py-postgresql-client

By cheewai

Updated over 6 years ago

PostgreSQL client and Python psycopg2

Image
0

818

cheewai/py-postgresql-client repository overview

PostgreSQL client and Python psycopg2

This repo provides the current release of PostgreSQL client with Python modules psychopg2, gevent and RethinkDB Python driver in a small footprint Docker image.

You may ignore the Python bits and use it to run commandline psql. Alternatively, add a bit of your own Python code to run a light-weight and performant production HTTP server using gevent-pywsgi

It includes gosu so your code need not run as root user for better runtime security. To use gosu, simply set ENTRYPOINT to use wrapper shell script like the example docker-entrypoint.sh.

Note

  • Added ez_setup.py to deal with pip install error: invalid command 'egg_info' as described in here

Tag summary

Content type

Image

Digest

Size

479.3 MB

Last updated

over 6 years ago

docker pull cheewai/py-postgresql-client