Public Repository

Last pushed: 5 months ago
Short Description
Docker image for centos 6 pyinstaller
Full Description

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

Docker Pull Command
Owner
rockie

Comments (0)