Skip to content

Build, package, test, and run 3D Slicer and Slicer Extensions in Docker.

License

Notifications You must be signed in to change notification settings

MayeulChassagnard/SlicerDocker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker images for 3D Slicer

Images

slicer/slicer-base
slicer-base-images The base image for slicer/slicer-dependencies and slicer/slicer-build.
slicer/slicer-dependencies
slicer-dependencies-images An image containing all the dependencies to build Slicer itself: ITK, VTK, CTK, Qt, etc.
slicer/slicer-build
slicer-build-images An image containing a Slicer build tree along with all the dependencies to build Slicer.
slicer/slicer-test
slicer-test-images An image containing a Slicer build and test tree along with all the dependencies to build Slicer.
slicer/slicer-test:opengl
slicer-test-opengl-images An image based on thewtex/opengl:centos which contains configuration files to run Slicer's tests

Usage

To build and package a local Slicer source tree at ~/src/Slicer against pre-built dependencies:

docker run --name slicer slicer/slicer-dependencies
# Copy the generated Slicer package to the /tmp/ directory.
docker cp slicer:$(docker cp slicer:/usr/src/Slicer-build/Slicer-build/PACKAGE_FILE.txt - | tar xO) /tmp/
docker rm slicer

Update

To update the Slicer revision, first install git svn:

sudo apt-get install git-svn

Then, configure a Slicer Git SVN repository as described on the wiki.

Then check out a local branch for the update:

git checkout -b update-$(date +%F)

And run the update script:

./slicer-base/update.sh /path/to/src/Slicer

About

Build, package, test, and run 3D Slicer and Slicer Extensions in Docker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 47.9%
  • CMake 33.3%
  • Python 18.8%