Sign inSign up

marcizhu/python2

By marcizhu

•Updated over 4 years ago

Python 2.7 + pip + PyYAML in a lightweight docker image

Image
0

265

marcizhu/python2 repository overview

⁠Python 2.7 + PyYAML Docker image

This image contains Python 2.7, pip2 and PyYAML already installed, and the default working directory is /work. Mount that directory to your current working directory to run Python2 files easily:

$ docker run --rm -v $(pwd -P):/work marcizhu/python2 python script.py

You may want to create an alias for easily running legacy Python 2 scripts.

Tag summary

Content type

Image

Digest

Size

27.8 MB

Last updated

over 4 years ago

docker pull marcizhu/python2