diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5760a80 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM python:3.6 +MAINTAINER Zach Mullen + +RUN apt-get update && apt-get install -y libglapi-mesa libosmesa6 freeglut3-dev && \ + pip install cmake ninja scikit-build + +COPY . /VTKPythonPackage + +RUN cd VTKPythonPackage && \ + VTK_CMAKE_ARGS="-DVTK_Group_Web:BOOL=ON" python setup.py bdist_wheel +RUN pip install /VTKPythonPackage/dist/vtk-*.whl