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

     1  Bootstrap: docker
     2  From: ubuntu:trusty
     3  IncludeCmd: no
     4  
     5  %post
     6  	## Install dependencies for ROOT (gcc cmake etc) ##
     7      	apt-get install -y software-properties-common
     8      	add-apt-repository ppa:ubuntu-toolchain-r/test
     9      	apt-get update
    10      	apt-get install -y gcc-4.8 g++-4.8
    11      	apt-get install -y git dpkg-dev cmake binutils libx11-dev libxpm-dev libxft-dev libxext-dev wget python
    12  
    13      	## Setup for ROOT install ##
    14      	mkdir /usr/local/ROOT && cd /usr/local/ROOT && mkdir 6.06.08
    15      
    16  	## Download ROOT from CERN and install binary ##
    17      	wget https://root.cern.ch/download/root_v6.06.08.Linux-ubuntu14-x86_64-gcc4.8.tar.gz
    18      	tar -zxvf root_*.tar.gz -C /usr/local/ROOT/6.06.08
    19  
    20  %runscript
    21  	source /usr/local/ROOT/6.06.08/root/bin/thisroot.sh
    22  	/bin/bash