Skip to content

A python3 alpine image with psycopg2 support for docker

Notifications You must be signed in to change notification settings

uroybd/python3-psycopg2-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

python3-psycopg2-alpine

A python3 alpine image with psycopg2 support for docker. Especially useful for making slim django applications with postgresql back-end.

You may want to install pillow here, use apk update && apk add py3-pillow.

Versions and resepctive Docerfile:

  • 3.5 with python 3.5.x and psycopg2 2.6.x (Dockerfie)
  • 3.6, with python 3.6.x and psycopg2 2.7.x (Dockerfie)
  • 3.7, latest with python 3.6.x and psycopg2 2.7.x (Dockerfie)
  • 3.8, edge with python 3.6.x and psycopg2 2.7.x (Dockerfie)

Why this Image?

I tried python-alpine 3.5 and 3.6 but getting support for python libraries in alpine image is a bit tricky. So I made this image based on alpine:3.5 to get official support for python3 and psycopg2 library from alpine. It is working fine and smaller than even official python 3.5 image in compressed form. It is a good image to start a Django project.

About

A python3 alpine image with psycopg2 support for docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published