github.com/apptainer/singularity@v3.1.1+incompatible/examples/centos/Singularity (about) 1 BootStrap: yum 2 OSVersion: 7 3 MirrorURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/os/x86_64/ 4 Include: yum 5 6 # If you want the updates (available at the bootstrap date) to be installed 7 # inside the container during the bootstrap instead of the General Availability 8 # point release (7.x) then uncomment the following line 9 #UpdateURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/updates/$basearch/ 10 11 12 %runscript 13 echo "This is what happens when you run the container..." 14 15 16 %post 17 echo "Hello from inside the container" 18 yum -y install vim-minimal