KitwareMedical / VTKPythonPackage

A setup script to generate VTK Python Wheels
https://vtkpythonpackage.readthedocs.io
BSD 3-Clause "New" or "Revised" License
34 stars 15 forks source link

Create Dockerfile for vtk python + web lib using OSMesa #5

Closed zachmullen closed 6 years ago

zachmullen commented 6 years ago

@jcfr I don't know if this is the right place for this Dockerfile, it may not be generic enough, but it does have some generally useful properties. To test, run

docker build -t vtk-python .
docker run -i -t vtk-python

It inherits the default entrypoint from the python image, so it should open a python 3.6 REPL. There, you should be able to do import vtk and import vtk.web.