casa/casa-stable:v6.2.1-pipeline
Version sha256.71efbcc9c8ca34e3eec6cc2d6ec049be63ce7e789a5fdf2fd81a2d6acf5e4539
Image size: 1.5 GB
For more on pulling from the registry, see the ilifu documentation.
First, once: add the registry and make it your default
singularity remote add --no-login idia-registry https://sregistry.idia.ac.za
singularity remote use idia-registry
If you added it before, as the ilifu docs describe, remote add says it already exists: just run remote use.
Log in, for a private collection
singularity remote login idia-registry
Paste a token from your token page when asked. Public collections need no login.
Pull the container
singularity pull library://casa/casa-stable:v6.2.1-pipeline
Shell into the container
singularity shell library://casa/casa-stable:v6.2.1-pipeline
Run the container
singularity run library://casa/casa-stable:v6.2.1-pipeline
First, once: add the registry and make it your default
apptainer remote add --no-login idia-registry https://sregistry.idia.ac.za
apptainer remote use idia-registry
If you added it before, as the ilifu docs describe, remote add says it already exists: just run remote use.
Log in, for a private collection
apptainer remote login idia-registry
Paste a token from your token page when asked. Public collections need no login.
Pull the container
apptainer pull library://casa/casa-stable:v6.2.1-pipeline
Shell into the container
apptainer shell library://casa/casa-stable:v6.2.1-pipeline
Run the container
apptainer run library://casa/casa-stable:v6.2.1-pipeline
BootStrap: yum
OSVersion: 7
MirrorURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/os/$basearch/
Include: yum
# If you want the updates (available at the bootstrap date) to be installed
# inside the container during the bootstrap instead of the General Availability
# point release (7.x) then uncomment the following line
UpdateURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/updates/$basearch/
%environment
export LC_ALL=C
export PATH=/opt/casa-6.2.1-7-pipeline-2021.2.0.128/bin/:$PATH
%post
yum -y install centos-release-scl
yum -y install wget vim svn git gcc cmake python libXrandr-dev* libXcursor-dev* libXinerama-dev* libfontconfig-dev* libfontconfig fontconfig-dev libXft* libGL* libGL-dev* fontconfig-dev* libSM-dev* libX11-dev* libXext-dev* libXi-dev* libXrender-dev*
yum -y install xorg-x11-server-Xvfb* ghostscript* curl*
mkdir -p /opt
cd /opt
wget -O- https://casa.nrao.edu/download/distro/casa-pipeline/release/linux/casa-6.2.1-7-pipeline-2021.2.0.128.tar.xz | tar -Jxvf -
Download casa-casa-stable_v6.2.1-pipeline.def