github.com/apptainer/singularity@v3.1.1+incompatible/examples/legacy/2.2/scientific.def (about) 1 # Copyright (c) 2015-2017, Gregory M. Kurtzer. All rights reserved. 2 # 3 # "Singularity" Copyright (c) 2016, The Regents of the University of California, 4 # through Lawrence Berkeley National Laboratory (subject to receipt of any 5 # required approvals from the U.S. Dept. of Energy). All rights reserved. 6 7 BootStrap: yum 8 OSVersion: 7 9 MirrorURL: http://ftp.scientificlinux.org/linux/scientific/%{OSVERSION}x/$basearch/os/ 10 Include: yum 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 yum -y install vim-minimal 20 21