MRtrix3 / containers

Developer tools for generating minified containers for MRtrix3
0 stars 2 forks source link

Updates to Dockerfile #3

Closed Lestropie closed 4 years ago

Lestropie commented 4 years ago

Still refining (hence draft PR), but listing here anyway since I'm doing other similar work in parallel and don't want to forget about it.

Most likely outstanding issue is that:

apt-get remove --purge `apt-mark showauto`

removes basically anything that wasn't explicitly listed in the apt-get install call. While this reduces the final image size (as long as the image is squashed), it also removes some dependencies of those items currently explicitly listed that are actually requisite. But I'll chip away at testing to find out what is required and what is not.

Lestropie commented 4 years ago

Opening this up to anyone wanting to take a look / do a test before merging.

Tests (once the container is tweaked to be able to run such) pass with the exception of mrhistogram (for which the test has a bc dependency) and 5ttgen (some of which need to be able to find the FreeSurfer LUT).