The shiv zipapp's shebang points at the system python3 (GIL-enabled), which cannot load the cp314t extensions built under the free-threaded 3.14 project venv, so ./dist/eris failed at runtime. pyinstaller bundles its own 3.14t interpreter and works, so the Dockerfiles now run the pyinstaller binary directly instead of via a python wrapper, and the debian image no longer needs to install uv/python. Remove build-shiv and the shiv dev dependency; build comments use podman.
13 lines
319 B
Text
13 lines
319 B
Text
|
|
|
|
# dist/eris must be built with packaging/build-pyinstaller (not shiv).
|
|
FROM ubuntu:26.04
|
|
|
|
RUN apt-get update && apt-get install -y sudo python3
|
|
COPY dist/eris /usr/local/bin/eris
|
|
RUN /usr/local/bin/eris --install-all-tools
|
|
|
|
ENTRYPOINT ["/usr/local/bin/eris"]
|
|
|
|
|
|
# podman build -t eris -f packaging/Dockerfile.ubuntu .
|