Closed mateuszpawlik closed 2 years ago
@mateuszpawlik - neurodocker has a minify
function designed to minimize docker images for particular commands. please see https://www.repronim.org/neurodocker/user_guide/minify.html for an example.
I've successfully minified a Docker image for pydeface and FSL 6.0.5.1 (my image has other software included). It has 2GB now. Thank you @kaczmarj for the help. It took quite some time though. If any of this could be useful please let me know what could I do. Other than that we can close this issue.
I want to use pydeface in a bigger context of data acquisition. I've added FSL into my Dockerfile. The problem is that FSL takes ~2.5h to install and ~16GB of space. I've posted some of the issues in https://github.com/ReproNim/neurodocker/issues/450
I'm wandering if I could at least reduce the container size by specifying more precise FSL dependencies, for example, FLIRT.
Here is the list of top-level directories in FSL directory and their sizes: