Changes between Version 8 and Version 9 of cypress/SingularityDockerhub


Ignore:
Timestamp:
08/20/25 22:12:15 (8 hours ago)
Author:
cbaribault
Comment:

Added Example numbering, example 2 for latest R

Legend:

Unmodified
Added
Removed
Modified
  • cypress/SingularityDockerhub

    v8 v9  
    2121}}}
    2222
    23 == Building a container for Ubuntu ==
     23== Example 1: Building a container for Ubuntu ==
    2424
    2525Load the module,
     
    5757By default, the cache is stored in ~/.singularity; this location can be customized using the environmental variable SINGULARITY_CACHEDIR. A subcommand, singularity cache, can be used to manage the cache.
    5858
    59 == Example : [https://github.com/moshi4/FastDTLmapper FastDTLmapper] ==
     59
     60== Example 2: Building a container including the latest version of R ==
     61
     62The first of this sequence of commands creates ‘r-base_latest.sif’, which is the Singularity Image. You can rename/transfer it as you like.
     63
     64{{{
     65singularity pull docker://r-base:latest  # creating .sif file takes ~6 minutes
     66singularity shell -s /bin/bash r-base_latest.sif
     67Singularity> head -1 /etc/os-release
     68PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
     69Singularity> Rscript -e 'R.version.string'
     70[1] "R version 4.5.1 (2025-06-13)"
     71Singularity>
     72}}}
     73
     74== Example 3: [https://github.com/moshi4/FastDTLmapper FastDTLmapper] ==
    6075This tool depends on many python packages and requires both python2 and python3. Fortunately, the developer provides Docker Images so we can use it to generate a Singularity image.
    6176