DevelopingHCP / structural-pipeline

dHCP structural pipeline
Other
16 stars 20 forks source link

build and run in docker #2

Open jcupitt opened 6 years ago

jcupitt commented 6 years ago

I made a thing to build and run the pipeline in a docker container:

https://github.com/jcupitt/docker-structural-pipeline

It's just:

$ sudo ./build.sh v1.1

to build branch v1.1, including all prerequistes, and then:

$ sudo ./docker-dhcp-pipeline.sh v1.1 subject1 session1 44 -T2 subject1-T2.nii.gz -T1 subject1-T1.nii.gz -t 8

(for example) to run it. It should work on any version of any platform. It might make installation simpler.

schuhschuh commented 6 years ago

Excellent @jcupitt! I would prefer to incorporate it as pull request into this project, however. For example, place auxiliary scripts into a docker folder and add the Dockerfile with the build instructions for docker build to the top-level. This image could then also be built automatically upon push/merge of PR into master branch. See BioMedIA/MIRTK project for example. As that project is registered on Docker Hub, the image on the Docker Hub at https://hub.docker.com/r/biomedia/mirtk/ is updated automatically.

jcupitt commented 6 years ago

OK, I have my own fork of structural-pipeline, I'll have a go at a PR.

Have we met, by the way? I'm trying to be Antonios's replacement, in room 563a. If we've not met, hello!

schuhschuh commented 6 years ago

Great, in that case, you should have all in place and in control :-).