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.
- Added ez_setup.py to deal with
pip install error: invalid command 'egg_info'
as described in here