Update to Dockerfile to install plugins dependencies and addition of Singularity.def file #63
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Neville,
In this pull request, I update the Dockerfile to install the ctffind and IMOD since they are plugin dependencies.
For MotionCorr2 in order to install you have to apply to a form (not able to download using the command line). For docker to install it, we might have to download it beforehand and add it in the Ot2Rec repo.
I also changed the base from
nvidia/cuda:11.4-devel-ubuntu20.04
tonvidia/cuda:10.1-devel-ubuntu18.04
(nvidia/cuda:10.1-devel-ubuntu20.04
does not exist as CUDA 10.1 is not build for Ubuntu 20.04) because IMOD 4.11 (recent version) is only compatible with CUDA 10 or lower. The installed python is still 3.8. I could had Dockerfile to install IMOD from source, but the most recent open source version that they have available is 4.0.26I also added Singularity.def file (its the equivalent of Dockerfile for Singularity).
You can easily create a singularity container (Ot2Rec.sif) by running
sudo singularity build Ot2Rec.sif Singularity.def
Like docker you can push the singularity containers to cloud.sylabs.io