Skip to content
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

Freesurfer image #82

Open
brandmaier opened this issue May 28, 2021 · 2 comments
Open

Freesurfer image #82

brandmaier opened this issue May 28, 2021 · 2 comments

Comments

@brandmaier
Copy link
Contributor

brandmaier commented May 28, 2021

How to install FreeSurfer in a container? It requires a license that is free but has to be obtained first. See here: https://surfer.nmr.mgh.harvard.edu/fswiki/LinuxInstall

@brandmaier brandmaier changed the title FSL image Freesurfer image May 28, 2021
@brandmaier
Copy link
Contributor Author

Here is a solution: https://hub.docker.com/r/vistalab/freesurfer/dockerfile
How would we best integrate this into our solution?

@aaronpeikert
Copy link
Owner

Users may freely add any Docker statements to the file .repro/Dockerfile_manual so they could paste the relevant lines from the freesurfer dockerfile you linked to and it would work.
However, I guess including the licence file via COPY in the docker image and then distributing the image violates the licence agreement.

Anyway when the user has already acquired a licence file and it is available at runtime because the standard repro makefile makes the project files available inside docker. Setting some environment variable so that free surver finds the licence should do the trick. It probably would require some tinkering to find out how to not violate the licence agreement and still make it technically work.

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

No branches or pull requests

2 participants