This is a second effort to add Singularity support, to come after #9. Instead of having the permission change be default, we instead provide a second template, and give the user complete control over the username of the build (in the case that they want to generate a container for their userspace only) OR the value of the permissions to be different from the default. Specifically, this PR does the following:
adds a .gitignore for ipynb_checkpoints. I would assume that most users will do a git add * and then also include various files that wouldn't be desired, and this will help with that :)
addition of the Singularity template in the .circleci folder for Singularity containers. Instead of this being default, a user can just have the option to switch to a slightly modified configuration, if Singularity container use on a shared resource is desired. As we discussed in #9, the write happens by way of the overlayfs, so the user would be able to interact (write) using the notebooks provided by the container, but would need to save locally or to a different spot on the resource (I've tested this and it works ok!) My concern about security is mitigated - the save is happening via the overlayfs.
README.md to describe variables for each configuration, the user should be given a clear table that shows what variables are available to customize the build (we thus far were doing this in comments in the configuration file.) You can read the rendered version here.
Addition of pushing latest I probably should have done this in a separate PR (bad dinosaur!) but I think it's a small enough (and useful) addition to both recipes that the "latest" image is also pushed. That said, if there is huge opposition I can remove it from here for another PR / more discussion. This will close #14
This is a second effort to add Singularity support, to come after #9. Instead of having the permission change be default, we instead provide a second template, and give the user complete control over the username of the build (in the case that they want to generate a container for their userspace only) OR the value of the permissions to be different from the default. Specifically, this PR does the following:
git add *
and then also include various files that wouldn't be desired, and this will help with that :)