Loading Dockerfile-py3-linux +1 −1 Original line number Diff line number Diff line FROM python:3.12.1 FROM python:3.12.2 SHELL ["/bin/bash", "-i", "-c"] LABEL maintainer="f.batonogov@yandex.ru" Loading Dockerfile-py3-windows +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ LABEL maintainer="f.batonogov@yandex.ru" ENV DEBIAN_FRONTEND noninteractive ARG WINE_VERSION=winehq-stable ARG PYTHON_VERSION=3.12.1 ARG PYTHON_VERSION=3.12.2 ARG PYINSTALLER_VERSION=6.3.0 # we need wine for this all to work, so we'll use the PPA Loading README.md +8 −33 Original line number Diff line number Diff line Loading @@ -3,41 +3,9 @@ **batonogov/pyinstaller-linux**, **batonogov/pyinstaller-windows** and **batonogov/pyinstaller-osx (Experimental)** are a trio of Docker containers to ease compiling Python applications to binaries / exe files. ## Tags Images have few tags: | Image | TAG | Python | Pyinstaller | | -------------------------------------------------------------- | ------------------------ | ------- | ----------- | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.1.1` | 3.12.1 | 6.3.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.1.0` | 3.12.0 | 6.3.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.0.1` | 3.11.7 | 6.3.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.0.0` | 3.11.6 | 6.3.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v3.3.1` | 3.11.6 | 6.3.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v3.3.0` | 3.11.6 | 6.2.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:python-3.11`/`:v3.2.1` | 3.11.6 | 6.0.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v3.2.0` | 3.11.5 | 6.0.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.6` | 3.11.5 | 5.13.2 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.5` | 3.11.5 | 5.13.1 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.4` | 3.11.4 | 5.13.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.3` | 3.11.4 | 5.12.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.1` | 3.11.3 | 5.11.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.0` | 3.11.3 | 5.9.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.0.2` | 3.11.2 | 5.8.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.0.1` | 3.11.1 | 5.7.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:python-3.10` | 3.10.10 | 5.7.0 | **batonogov/pyinstaller-osx (Experimental) have tags: | Image | TAG | Python | Pyinstaller | | --------------------------- | --------- | ------- | ----------- | | `batonogov/pyinstaller-osx` | `:v4.1.0` | 3.11.3 | 6.3.0 | | `batonogov/pyinstaller-osx` | `:v4.0.1` | 3.11.3 | 6.3.0 | | `batonogov/pyinstaller-osx` | `:v4.0.0` | 3.11.3 | 6.3.0 | ## Usage There are two containers, one for Linux and one for Windows and one forx osx builds. There are two containers, one for `Linux` and one for `Windows` and one for `osx` builds. The Windows builder runs Wine inside Ubuntu to emulate Windows in Docker. The osx builder used sickcodes/docker-osx base image. Loading @@ -60,6 +28,7 @@ docker run -v "$(pwd):/src/" batonogov/pyinstaller-linux ``` will build your PyInstaller project into `dist/`. The binary will have the same name as your `.spec` file. ### How do I specify the spec file from which the executable should be build? You'll need to pass an environment variable called `SPECFILE` with the path (relative or absoulte) to your spec file, like so: Loading Loading @@ -94,6 +63,12 @@ Add `pyinstaller==6.2.0` to your `requirements.txt`. Yes, by supplying the `PYPI_URL` and `PYPI_INDEX_URL` environment variables that point to your PyPi mirror. ## Known Issues [shutil.copy2() broken in Python 3.12 for Windows](https://github.com/batonogov/docker-pyinstaller/issues/50) [ntdll.so Path Missing](https://github.com/batonogov/docker-pyinstaller/issues/23) [Outdated Microsoft C++ Build Tools](https://github.com/batonogov/docker-pyinstaller/issues/11) ## History Now release information will be [here](https://github.com/batonogov/docker-pyinstaller/releases). Loading Loading
Dockerfile-py3-linux +1 −1 Original line number Diff line number Diff line FROM python:3.12.1 FROM python:3.12.2 SHELL ["/bin/bash", "-i", "-c"] LABEL maintainer="f.batonogov@yandex.ru" Loading
Dockerfile-py3-windows +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ LABEL maintainer="f.batonogov@yandex.ru" ENV DEBIAN_FRONTEND noninteractive ARG WINE_VERSION=winehq-stable ARG PYTHON_VERSION=3.12.1 ARG PYTHON_VERSION=3.12.2 ARG PYINSTALLER_VERSION=6.3.0 # we need wine for this all to work, so we'll use the PPA Loading
README.md +8 −33 Original line number Diff line number Diff line Loading @@ -3,41 +3,9 @@ **batonogov/pyinstaller-linux**, **batonogov/pyinstaller-windows** and **batonogov/pyinstaller-osx (Experimental)** are a trio of Docker containers to ease compiling Python applications to binaries / exe files. ## Tags Images have few tags: | Image | TAG | Python | Pyinstaller | | -------------------------------------------------------------- | ------------------------ | ------- | ----------- | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.1.1` | 3.12.1 | 6.3.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.1.0` | 3.12.0 | 6.3.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.0.1` | 3.11.7 | 6.3.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.0.0` | 3.11.6 | 6.3.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v3.3.1` | 3.11.6 | 6.3.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v3.3.0` | 3.11.6 | 6.2.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:python-3.11`/`:v3.2.1` | 3.11.6 | 6.0.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v3.2.0` | 3.11.5 | 6.0.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.6` | 3.11.5 | 5.13.2 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.5` | 3.11.5 | 5.13.1 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.4` | 3.11.4 | 5.13.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.3` | 3.11.4 | 5.12.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.1` | 3.11.3 | 5.11.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.1.0` | 3.11.3 | 5.9.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.0.2` | 3.11.2 | 5.8.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.0.1` | 3.11.1 | 5.7.0 | | `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:python-3.10` | 3.10.10 | 5.7.0 | **batonogov/pyinstaller-osx (Experimental) have tags: | Image | TAG | Python | Pyinstaller | | --------------------------- | --------- | ------- | ----------- | | `batonogov/pyinstaller-osx` | `:v4.1.0` | 3.11.3 | 6.3.0 | | `batonogov/pyinstaller-osx` | `:v4.0.1` | 3.11.3 | 6.3.0 | | `batonogov/pyinstaller-osx` | `:v4.0.0` | 3.11.3 | 6.3.0 | ## Usage There are two containers, one for Linux and one for Windows and one forx osx builds. There are two containers, one for `Linux` and one for `Windows` and one for `osx` builds. The Windows builder runs Wine inside Ubuntu to emulate Windows in Docker. The osx builder used sickcodes/docker-osx base image. Loading @@ -60,6 +28,7 @@ docker run -v "$(pwd):/src/" batonogov/pyinstaller-linux ``` will build your PyInstaller project into `dist/`. The binary will have the same name as your `.spec` file. ### How do I specify the spec file from which the executable should be build? You'll need to pass an environment variable called `SPECFILE` with the path (relative or absoulte) to your spec file, like so: Loading Loading @@ -94,6 +63,12 @@ Add `pyinstaller==6.2.0` to your `requirements.txt`. Yes, by supplying the `PYPI_URL` and `PYPI_INDEX_URL` environment variables that point to your PyPi mirror. ## Known Issues [shutil.copy2() broken in Python 3.12 for Windows](https://github.com/batonogov/docker-pyinstaller/issues/50) [ntdll.so Path Missing](https://github.com/batonogov/docker-pyinstaller/issues/23) [Outdated Microsoft C++ Build Tools](https://github.com/batonogov/docker-pyinstaller/issues/11) ## History Now release information will be [here](https://github.com/batonogov/docker-pyinstaller/releases). Loading