-
Notifications
You must be signed in to change notification settings - Fork 10
feat: add a Dockerfile #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Can you please add a non WSL dockerfile ? Related to: #17 |
| @@ -0,0 +1,26 @@ | |||
| FROM python:3.10-slim | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why 3.10 and not a more recent version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trame-slicer is currently limited to 3.10 because of the available vtk MRML wheels.
docker/README
Outdated
| - To use EGL: | ||
|
|
||
| `docker run -p 8080:8080 -it --gpus all -e VTK_DEFAULT_OPENGL_WINDOW=vtkEGLRenderWindow -e LD_LIBRARY_PATH=/usr/lib/wsl/lib -v /usr/lib/wsl:/usr/lib/wsl trame-slicer-wsl` | ||
|
|
||
| - To use X server: | ||
|
|
||
| `docker run -p 8080:8080 -it --gpus all -e DISPLAY -e LD_LIBRARY_PATH=/usr/lib/wsl/lib -v /usr/lib/wsl:/usr/lib/wsl -v /tmp/.X11-unix:/tmp/.X11-unix trame-slicer-wsl` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably missing some host requirements here, I can't get it to work on my windows 10 WSL. It's always using llvmpipe. I have nvidia drivers installed and able to use my GPU inside WSL.
|
Thx for the PR! Regarding the PR, could you amend the commit to replace feat by doc as we don't want to trigger a new minor release for this dockerfile? 🙏 |
7060d84 to
86fd515
Compare
e94ad01 to
b07b3d4
Compare
No description provided.