github.com/apptainer/singularity@v3.1.1+incompatible/examples/legacy/2.2/contrib/fedora.def (about)

     1  BootStrap: yum
     2  OSVersion: 25
     3  MetaLink: https://mirrors.fedoraproject.org/metalink?repo=fedora-%{OSVERSION}&arch=$basearch
     4  # if you want a complete basic image, add @Core
     5  Include: dnf
     6  
     7  # If you want the updates (available at the bootstrap date) to be installed
     8  # inside the container during the bootstrap instead of the General Availability
     9  # point release then uncomment the following line
    10  #UpdateMetaLink: https://mirrors.fedoraproject.org/metalink?repo=updates-released-f%{OSVERSION}&arch=$basearch
    11  
    12  
    13  %runscript
    14      echo "This is what happens when you run the container..."
    15  
    16  
    17  %post
    18      echo "Hello from inside the container"
    19      dnf -y install vim-minimal