Both Docker and Singularity are excellent tools, and I use them both. I have far less experience with Singularity however.
We all know that if you have a `Dockerfile`, you can build the image with the command `docker build .`
I'm currently in the situation whereby I have the Dockerfile already created, and I would like to use this file for Singularity, and build.
> Just like Docker has the Dockerfile, Singularity has a file called
> Singularity that (currently) applications like Singularity Hub know to
> sniff for. For reproducibility of your containers, our strong
> recommendation is that you build from these files.
it looks like one has to build an entire Singularity file from scratch.
(1) Is there a standard method for converting Dockerfiles to Singularity files?
(2) It's unclear from me what the equivalent of `docker build .` is in this context, or how the various arguments of `docker build` (e.g. `-f`, `-t`, etc.) translate in this context
For a Singularity file `SFile`, it looks like it is:
sudo singularity build container_name SFile