Changes between Version 9 and Version 10 of cypress/SingularityDockerhub
- Timestamp:
- 08/20/25 22:36:08 (8 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/SingularityDockerhub
v9 v10 60 60 == Example 2: Building a container including the latest version of R == 61 61 62 The f irst of this sequence of commandscreates ‘r-base_latest.sif’, which is the Singularity Image. You can rename/transfer it as you like.62 The following command creates ‘r-base_latest.sif’, which is the Singularity Image. You can rename/transfer it as you like. 63 63 64 64 {{{ 65 65 singularity pull docker://r-base:latest # creating .sif file takes ~6 minutes 66 }}} 67 68 Next we can enter the container shell and interactively query the R environment. 69 70 {{{ 66 71 singularity shell -s /bin/bash r-base_latest.sif 67 72 Singularity> head -1 /etc/os-release … … 69 74 Singularity> Rscript -e 'R.version.string' 70 75 [1] "R version 4.5.1 (2025-06-13)" 71 Singularity> 76 Singularity>exit 77 }}} 78 79 Alternatively, we can execute just a single command inside the container to query the R environment. 80 81 {{{ 82 singularity exec r-base_latest.sif Rscript -e 'R.version.string' 83 [1] "R version 4.5.1 (2025-06-13)" 72 84 }}} 73 85