casa/casa-stable:v6.7.0-31-py3.10-2025-04-08
Version sha256.3b537e92b6e8708a13af4c578bebb01cde57446de96a74605f41714aee9f4283
Image size: 1.6 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.7.0-31-py3.10-2025-04-08
Shell into the container
singularity shell library://casa/casa-stable:v6.7.0-31-py3.10-2025-04-08
Run the container
singularity run library://casa/casa-stable:v6.7.0-31-py3.10-2025-04-08
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.7.0-31-py3.10-2025-04-08
Shell into the container
apptainer shell library://casa/casa-stable:v6.7.0-31-py3.10-2025-04-08
Run the container
apptainer run library://casa/casa-stable:v6.7.0-31-py3.10-2025-04-08
Bootstrap: debootstrap
MirrorURL: http://archive.ubuntu.com/ubuntu/
OSVersion: jammy
%labels
APPLICATION_NAME Ubuntu LTS + CASA 6 stable
OS_VERSION 22.04
APPLICATION_URL https://casa.nrao.edu/casa_obtaining.shtml
SYSTEM_NAME iLifu
SYSTEM_SINGULARITY_VERSION 4.1.3
SYSTEM_URL http://www.ilifu.ac.za
AUTHOR_NAME IDIA
AUTHOR_EMAIL support@ilifu.ac.za
%environment
export LC_ALL=C
export PATH=/opt/casa-6.7.0-31-py3.10.el8/bin/:$PATH
%post
# Update and install required dependencies
apt-get update
apt-get install -y wget vim git gcc cmake python3 libxrandr-dev libxcursor-dev libxinerama-dev \
libfontconfig1-dev libfontconfig1 libxft-dev libgl1-mesa-dev libsm-dev \
libx11-dev libxext-dev libxi-dev libxrender-dev ghostscript curl
# Install `subversion` from the Universe repository
apt-get install -y software-properties-common
add-apt-repository -y universe
apt-get update
apt-get install -y subversion
# Install `xvfb` from the Universe repository
apt-get install -y xvfb
# Create the /opt directory if it doesn't exist
mkdir -p /opt
cd /opt
# Download and extract CASA
wget -O- https://casa.nrao.edu/download/distro/casa/release/rhel/casa-6.7.0-31-py3.10.el8.tar.xz | tar -Jxvf -
Download casa-casa-stable_v6.7.0-31-py3.10-2025-04-08.def
#!/bin/sh
# /.singularity.d/env/90-environment.sh
#!/bin/sh
# Custom environment shell code should follow
export LC_ALL=C
export PATH=/opt/casa-6.7.0-31-py3.10.el8/bin/:$PATH