Image size: 191.3 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/gmrt-utilities:2025-05-19

Shell into the container

singularity shell library://calibration/gmrt-utilities:2025-05-19

Run the container

singularity run library://calibration/gmrt-utilities:2025-05-19

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/gmrt-utilities:2025-05-19

Shell into the container

apptainer shell library://calibration/gmrt-utilities:2025-05-19

Run the container

apptainer run library://calibration/gmrt-utilities:2025-05-19
Bootstrap: debootstrap
MirrorURL: http://archive.ubuntu.com/ubuntu/
OSVersion: bionic
Include: software-properties-common

%labels

    	APPLICATION_NAME listscan gvfits
        SYSTEM_NAME ilifu
        SYSTEM_SINGULARITY_VERSION 4.1.3
        SYSTEM_URL http://www.ilifu.ac.za

        AUTHOR_NAME ilifu support
        AUTHOR_EMAIL support@ilifu.ac.za

%environment

        export PATH=$PATH:/opt

%post
        ##############################################################################
        # Setting up Environment  
        # Create Installation Directories and export paths. This is needed as part of post.
        # %environment scriptlet does not define these paths during %post, only after.
        mkdir -p /opt
        export INSTALLER_PATH=/opt
        export LC_ALL=C.UTF-8

        # Fix command prompt in Singularity 3.5.2
        printf 'export PS1="\u@$SINGULARITY_NAME:\w$ "' > /.singularity.d/env/999-psvars.sh
        ###############################################################################

        apt-add-repository multiverse
	apt-get update -y
	apt-get install -y wget vim apt-utils git bzip2 build-essential strace pkg-config libgfortran3

	cd /opt
	wget http://www.ncra.tifr.res.in/ncra/gmrt/gmrt-users/aips-help/listscan-2.03
	wget http://www.ncra.tifr.res.in/ncra/gmrt/gmrt-users/aips-help/gvfits-2.03
	mv listscan-2.03 listscan
	mv gvfits-2.03 gvfits
	chmod +x listscan
	chmod +x gvfits

        # Cleanup the container
        apt-get clean
        apt-get autoclean
Download calibration-gmrt-utilities_2025-05-19.def
#!/bin/sh
# /.singularity.d/env/90-environment.sh
#!/bin/sh
# Custom environment shell code should follow



        export PATH=$PATH:/opt