Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
/ packer-pyall Public archive

Create a Docker Container with all versions of Python

Notifications You must be signed in to change notification settings

esacteksab/packer-pyall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Packer & Docker

  • Packer v0.7.1
  • Docker 1.2.0
  • Ansible 1.5.4 (in Docker container)

Image in Docker Repo

https://registry.hub.docker.com/u/esacteksab/pyall/

How-to

  • Install Packer
  • Install Docker
  • Make any changes to Packer file -- **Make sure you update Tag in docker-import!!!
  • packer build docker-ubuntu.json
  • docker push esacteksab/pyall:<version>

Python Versions:

root@b36681570b36:/# python2.6 --version
Python 2.6.9
root@b36681570b36:/# python2.7 --version
Python 2.7.6
root@b36681570b36:/# python3.1 --version
Python 3.1.5
root@b36681570b36:/# python3.2 --version
Python 3.2.5
root@b36681570b36:/# python3.3 --version
Python 3.3.5
root@b36681570b36:/# python3.4 --version
Python 3.4.0
root@b36681570b36:/# which python3    
/usr/bin/python3
root@b36681570b36:/# python3 --version
Python 3.4.0
root@b36681570b36:/# which python2
/usr/bin/python2
root@b36681570b36:/# python2 --version
2.7.6
pypy --version
Python 2.7.8 (2.4.0+dfsg-1~ppa2+trusty, Sep 25 2014, 04:35:04)
[PyPy 2.4.0 with GCC 4.8.2]

About

Create a Docker Container with all versions of Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published