Closed octomike closed 4 years ago
Thanks! Just merged and will test soon.
Best,
Chao-Gan
On Fri, Aug 28, 2020 at 8:59 PM Michael notifications@github.com wrote:
Hi!
I'm trying to make this toolbox run on our Linux cluster using sinuglarity.
We can bootstrap a container super easy with
docker build dpabi.sif docker://cgyan/dpabi:4.3_200401
However, a feature of singularity containers is the fact that they are read-only by design. The way precompiled matlab programs work is that matlab extracts the ctf archive once after the first call. This fails, because it can't write into the singularity filesystem. It would also result in (unwanted?) docker data.
By extracting the archives once upon container build the size increases a little (marginally when compared to the 8+GB of its total size), but supports singularity. This patch does just that.
You can view, comment on, or merge this pull request online at:
https://github.com/Chaogan-Yan/DPABI/pull/40 Commit Summary
- Dockerfile: extract ctf files
File Changes
- M Dockerfile https://github.com/Chaogan-Yan/DPABI/pull/40/files#diff-3254677a7917c6c01f55212f86c57fbf (4)
Patch Links:
- https://github.com/Chaogan-Yan/DPABI/pull/40.patch
- https://github.com/Chaogan-Yan/DPABI/pull/40.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Chaogan-Yan/DPABI/pull/40, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARM2UTFH54765J5OZO6JNTSC6S2ZANCNFSM4QODKHYQ .
Initiator http://rfmri.org/DPARSFDPABI http://rfmri.org/DPABI http://rfmri.org/DPARSF, DPABISurf, http://rfmri.org/DPABISurfDPARSF http://rfmri.org/DPARSF, and The R-fMRI Network http://rfmri.org ( RFMRI.ORG http://rfmri.org/) http://rfmri.org/yan http://scholar.google.com/citations?user=lJQ9B58AAAAJ
Hi!
I'm trying to make this toolbox run on our Linux cluster using sinuglarity.
We can bootstrap a container super easy with
docker build dpabi.sif docker://cgyan/dpabi:4.3_200401
However, a feature of singularity containers is the fact that they are read-only by design. The way precompiled matlab programs work is that matlab extracts the ctf archive once after the first call. This fails, because it can't write into the singularity filesystem. It would also result in (unwanted?) docker data.
By extracting the archives once upon container build the size increases a little (marginally when compared to the 8+GB of its total size), but supports singularity. This patch does just that.