github.com/apptainer/singularity@v3.1.1+incompatible/examples/legacy/2.2/contrib/centos-minimal.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://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/os/$basearch/ 10 11 %post 12 echo "Hello from inside the container" 13 14 %test 15 echo "This is the test code running" | sed -e 's/code //' 16 false || true # This will fail without the double pipe 17 true