Repository name in Docker Hub: williamyeh/python2
This repository contains Dockerfile of Python 2.7.x for Docker's automated build published to the public Docker Hub.
This docker image contains the following software stack:
OS: Debian jessie.
Python: 2.7.8
Pip: 1.5.6
Virtualenv: 1.11.6
There has been quite a few Python images for Docker (e.g., search in the Docker Hub), so why reinvent the wheel?
Base OS image - I prefer a smaller base image, e.g., debian:jessie, as recommended in this article.
Unnecessary dependencies - I prefered to incorporate these stuff only when absolutely needed.
Therefore, I built this Docker image on my own, also as an exercise.
Other nice alternatives, FYI:
$ docker pull williamyeh/python2
Typical usage is as a base image for other Dockerfile.
$ docker run --rm williamyeh/python2
Content type
Image
Digest
sha256:dca307976…
Size
151.4 MB
Last updated
over 8 years ago
docker pull williamyeh/python2