Skip to content

Commit

Permalink
add missing libraries in docker file and entrypoint (#3081)
Browse files Browse the repository at this point in the history
Co-authored-by: ziyang <zliu@chanzuckerbreg.com>
  • Loading branch information
liu-ziyang and ziyang committed Jul 27, 2021
1 parent 9756cdd commit 82ca467
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dockerfile
Expand Up @@ -8,11 +8,16 @@ ENV TZ America/Los_Angeles
ENV DEBIAN_FRONTEND noninteractive

# install graphical libraries used by qt and vispy
RUN apt-get install -qqy libxi6 libglib2.0-0 fontconfig libgl1-mesa-glx libfontconfig1 libxrender1 libdbus-1-3
RUN apt-get install -qqy mesa-utils libgl1-mesa-glx libglib2.0-0
RUN apt-get install -qqy libfontconfig1 libxrender1 libdbus-1-3 libxkbcommon-x11-0 libxi6
RUN apt-get install -qqy libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0
RUN apt-get install -qqy libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 libxcb-shape0

# install napari release version
RUN pip3 install napari[all]

# install scikit image for examples
RUN pip3 install scikit-image
COPY examples /tmp/examples

ENTRYPOINT ["python3", "-m", "napari"]

0 comments on commit 82ca467

Please sign in to comment.