calibration/iraf:v2.7-2026-10-15-noble
Version sha256.b584fe0431e9e7d287b6606516c93521aa953f2cf863082bfbce6f31fe84edc6
Image size: 570.4 MB
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://calibration/iraf:v2.7-2026-10-15-noble
Shell into the container
singularity shell library://calibration/iraf:v2.7-2026-10-15-noble
Run the container
singularity run library://calibration/iraf:v2.7-2026-10-15-noble
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://calibration/iraf:v2.7-2026-10-15-noble
Shell into the container
apptainer shell library://calibration/iraf:v2.7-2026-10-15-noble
Run the container
apptainer run library://calibration/iraf:v2.7-2026-10-15-noble
This container contains IRAF software (https://iraf-community.github.io/).
Bootstrap: debootstrap
MirrorURL: http://archive.ubuntu.com/ubuntu/
OSVersion: noble
%help
This container contains IRAF software (https://iraf-community.github.io/).
%labels
APPLICATION_NAME_BASE Ubuntu LTS + IRAF 2.17
OS_VERSION 24.04
SYSTEM_NAME iLifu
SYSTEM_SINGULARITY_VERSION 3.9.1
SYSTEM_URL http://www.ilifu.ac.za
AUTHOR_NAME Jeremy Smith
AUTHOR_EMAIL jeremy@idia.ac.za
%environment
export INSTALLER_PATH=/opt
export PATH=$INSTALLER_PATH/iraf-2.17/bin/:$PATH
export PATH=$INSTALLER_PATH/ds9:$PATH
%post
# Setting up Environment
mkdir -p /opt
export INSTALLER_PATH=/opt
export DEBIAN_FRONTEND=noninteractive
# Fix command prompt in Singularity
printf 'export PS1="\u@$SINGULARITY_NAME:\w$ "' > /.singularity.d/env/999-psvars.sh
# Enable universe repository first so all development tools are available
apt-get update -y
apt-get install -y software-properties-common
apt-add-repository -y universe
apt-get update -y
# Installation of utility packages, build tools, and X11/Xaw libraries for xgterm
apt-get install -y gcc make flex bison wget build-essential git
apt-get install -y libcurl4-openssl-dev libexpat-dev libreadline-dev
apt-get install -y libncurses-dev tcl-dev tcl8.6-dev libxaw7-dev libxmu-dev xaw3dg-dev libxpm-dev python3-pip libxss1 libxft2
# Install dfits and fitsort
apt-get install -y qfits-tools
# Install IRAF 2.17
cd $INSTALLER_PATH
wget https://github.com/iraf-community/iraf/archive/refs/tags/v2.17.tar.gz
tar zxf v2.17.tar.gz
rm v2.17.tar.gz
cd iraf-2.17/
./install
export PATH=$INSTALLER_PATH/iraf-2.17/bin/:$PATH
make linux64
make sysgen 2>&1 | tee build.log
# Install X11IRAF (provides xgterm and ximtool)
cd $INSTALLER_PATH
git clone https://github.com/iraf-community/x11iraf.git
cd x11iraf
# Fix missing tcl.h include path expectation
ln -s /usr/include/tcl8.6 /usr/include/tcl
make
make install
# Install DS9 (Ubuntu 24.04 native version)
mkdir -p $INSTALLER_PATH/ds9
cd $INSTALLER_PATH/ds9
wget -O - https://ds9.si.edu/download/ubuntu-24.04_x86_64/ds9.ubuntu-24.04_x86_64.8.8.tar.gz | tar zx
# Install Montage v6.0 for jupyter kernel
python3 -m pip install --break-system-packages MontagePy
# Install PYDS9
apt-get install -y libxt-dev
python3 -m pip install --break-system-packages --upgrade pyds9
# Cleanup the container
apt-get clean
apt-get autoclean
Download calibration-iraf_v2.7-2026-10-15-noble.def
#!/bin/sh
# /.singularity.d/env/90-environment.sh
#!/bin/sh
# Custom environment shell code should follow
export INSTALLER_PATH=/opt
export PATH=$INSTALLER_PATH/iraf-2.17/bin/:$PATH
export PATH=$INSTALLER_PATH/ds9:$PATH