github.com/apptainer/singularity@v3.1.1+incompatible/examples/legacy/2.2/ubuntu.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: debootstrap
     8  OSVersion: trusty
     9  MirrorURL: http://us.archive.ubuntu.com/ubuntu/
    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      sed -i 's/$/ universe/' /etc/apt/sources.list
    19      apt-get -y --force-yes install vim
    20