-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Dockerfile for flyby and vtk8 no X
- Loading branch information
1 parent
389cd81
commit 814897b
Showing
1 changed file
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
FROM tensorflow/tensorflow:2.4.0 | ||
FROM tensorflow/tensorflow:2.4.1-gpu | ||
WORKDIR /app | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
git \ | ||
libx11-6 \ | ||
libgl1 | ||
libgl1 \ | ||
libopengl0 \ | ||
libegl1 | ||
|
||
RUN pip install itk vtk pandas | ||
RUN git clone https://github.com/DCBIA-OrthoLab/fly-by-cnn.git | ||
COPY vtk8.2.0.zip /usr/local/lib/python3.6/dist-packages/ | ||
|
||
WORKDIR /usr/local/lib/python3.6/dist-packages/ | ||
RUN unzip vtk8.2.0.zip | ||
|
||
RUN pip install itk sklearn pandas matplotlib | ||
|
||
WORKDIR /app | ||
RUN git clone https://github.com/DCBIA-OrthoLab/fly-by-cnn.git | ||
|
||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/python3.6/dist-packages/vtkmodules/ | ||
ENV MESA_GL_VERSION_OVERRIDE=3.2 |