Docker image that can build single file Python apps with PyInstaller for Alpine Linux.
Alpine uses musl instead of glibc. The PyInstaller bootloader for Linux 64 that comes with PyInstaller is made for glibc. This Docker image builds a bootloader with musl.
This Docker image also provides a clean way to build PyInstaller apps in an isolated environment.
You can use:
- inn0kenty/pyinstaller-alpine:3.8 for Python 3.8
- inn0kenty/pyinstaller-alpine:3.7 for Python 3.7
- inn0kenty/pyinstaller-alpine:3.6 for Python 3.6
- inn0kenty/pyinstaller-alpine:3.5 for Python 3.5
- inn0kenty/pyinstaller-alpine:2.7 for Python 2.7
All images except 2.7 updates every saturday.
This images should be used with docker multi-stage builds.
See docker documentation and example folder.
If you want a Reproducible Build
when your source has not changed, you can pass a PYTHONHASHSEED
env variable
for consistent randomization for internal data structures.