Remove all build-dependency packages (glfw-dev, cmake, git, python3-dev, libX11, mesa, etc.) that were only needed for building eris's Python deps from source. Replace uv + source install with COPY dist/eris. Use python3 /usr/local/bin/eris for ENTRYPOINT to avoid shebang portability issues.
12 lines
242 B
Text
12 lines
242 B
Text
|
|
|
|
FROM fedora:44
|
|
|
|
RUN dnf -y install sudo python3
|
|
COPY dist/eris /usr/local/bin/eris
|
|
RUN python3 /usr/local/bin/eris --install-all-tools
|
|
|
|
ENTRYPOINT ["python3", "/usr/local/bin/eris"]
|
|
|
|
|
|
# docker build -t eris -f packaging/Dockerfile.fedora .
|