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

WIP: use much smaller MCR core variant #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

octomike
Copy link
Contributor

This PR is stretch.. :)

In https://github.com/octomike/matlab-compiler-runtime I build and collect MCR versions, including a much smaller, but experimental -core variant of the MCR. In my tests I was able to reduce the dockerhub reported container size from 5.07 to 1.64 GB. It's looking good so far, the code is starting/running, but there is no guarantee it does indeed cover all corner cases of cat12/spm12.

This PR bases the Dockerfile on the octomike/matlab-compiler-runtime:9.3-core image to

  • reduce file size
  • speed up build time a little
  • simplify the Dockerfile

What do you think?

@jhuguetn
Copy link
Owner

That's interesting, will further investigate it. I agree that the image is quite heavy for what it is/does, at the moment (~8GB). Thanks @octomike

@octomike
Copy link
Contributor Author

It's looking good so far, the code is starting/running, but there is no guarantee it does indeed cover all corner cases of cat12/spm12.

Update: With the latest changes in https://github.com/octomike/matlab-compiler-runtime/ we were able to run a regular segmentation and a longitudinal segmentation with this stripped down "core" version. Still, it's a quite hack, so further testing should be done, before this get merged.

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

Successfully merging this pull request may close these issues.

2 participants