1234567891011121314151617181920212223242526272829 |
- # locked PySide2==5.14.1 requires python<3.9
- # https://github.com/alicevision/meshroom/blob/8d0cd745811320ab27245eabb56997b00ba3a70e/requirements.txt#L4
- FROM python:3.8-slim-buster
- ARG MESHROOM_PATH=/meshroom
- # > ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory
- # > ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- # > qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
- RUN apt-get update \
- && apt-get install --yes --no-install-recommends \
- git \
- libfontconfig1 \
- libgl1 \
- libglib2.0-0 \
- libqt5gui5 \
- && rm -r /var/lib/apt/lists \
- && useradd --create-home mesh \
- && mkdir $MESHROOM_PATH \
- && chown mesh $MESHROOM_PATH
- USER mesh
- WORKDIR $MESHROOM_PATH
- ARG MESHROOM_REVISION=8d0cd745811320ab27245eabb56997b00ba3a70e
- RUN git clone --recursive https://github.com/alicevision/meshroom.git . \
- && git checkout $MESHROOM_REVISION
- RUN pip install --user --requirement requirements.txt
- ENV PYTHONPATH=$MESHROOM_PATH
- CMD ["python", "meshroom/ui"]
|