Skip to content

Conversation

@Jo-Byr
Copy link
Collaborator

@Jo-Byr Jo-Byr commented Aug 8, 2025

No description provided.

@Jo-Byr Jo-Byr self-assigned this Aug 8, 2025
@finetjul
Copy link
Member

Can you please add a non WSL dockerfile ?

Related to: #17

@@ -0,0 +1,26 @@
FROM python:3.10-slim

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?

Copy link
Collaborator

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
Comment on lines 11 to 17
- 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`

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.

@Thibault-Pelletier
Copy link
Collaborator

Thx for the PR!
I will let @bourdaisj make his review as docker files are completly outside my area of expertise.

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? 🙏

@Jo-Byr Jo-Byr changed the title feat: add a WSL Dockerfile feat: add a Dockerfile Sep 3, 2025
@Jo-Byr Jo-Byr marked this pull request as draft September 3, 2025 06:41
@Thibault-Pelletier Thibault-Pelletier force-pushed the main branch 3 times, most recently from 7060d84 to 86fd515 Compare November 26, 2025 15:10
@Thibault-Pelletier Thibault-Pelletier force-pushed the main branch 2 times, most recently from e94ad01 to b07b3d4 Compare December 12, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants