Sign inSign up

rockie/centos6-pyinstaller

By rockie

•Updated over 9 years ago

Docker image for centos 6 pyinstaller

Image
0

10K+

rockie/centos6-pyinstaller repository overview

Inspired by https://hub.docker.com/r/coopermaa/pyinstaller/⁠

Due to project needs, I installed pymongo, requests as well

How to use this image Convert a Python program into a stand-alone executable:

⁠Create a hello.py

$ echo 'print("Hello Python")' > hello.py

⁠Convert hello.py into a stand-alone executable result in an ELF executable as 'dist/hello'

$ docker run -v $(pwd):/code rockie/centos6-pyinstaller --onefile --noconfirm hello.py

⁠Run the executable

$ dist/hello Hello Python

Tag summary

Content type

Image

Digest

Size

287.8 MB

Last updated

over 9 years ago

docker pull rockie/centos6-pyinstaller