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
267 B
Text
12 lines
267 B
Text
|
|
|
|
FROM ubuntu:26.04
|
|
|
|
RUN apt-get update && apt-get install -y 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.ubuntu .
|