calibration/dysco:2022-05-27
Version sha256.d4d20efccc92ae8f79f914c6ef34ec9606855e62b6c43af92eaf5848d9f8d21c
Image size: 336.9 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/dysco:2022-05-27
Shell into the container
singularity shell library://calibration/dysco:2022-05-27
Run the container
singularity run library://calibration/dysco:2022-05-27
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/dysco:2022-05-27
Shell into the container
apptainer shell library://calibration/dysco:2022-05-27
Run the container
apptainer run library://calibration/dysco:2022-05-27
Bootstrap: debootstrap
MirrorURL: http://archive.ubuntu.com/ubuntu/
OSVersion: bionic
Include: software-properties-common
%labels
APPLICATION_NAME_BASE Ubuntu LTS + dysco
OS_VERSION 18.04
SYSTEM_NAME iLifu
SYSTEM_SINGULARITY_VERSION 3.5.2
SYSTEM_URL http://www.ilifu.ac.za
AUTHOR_NAME Jeremy Smith
AUTHOR_EMAIL jeremy@idia.ac.za
%environment
export LC_ALL=C.UTF-8
unset XDG_RUNTIME_DIR
export INSTALLER_PATH=/opt
export PATH=/opt/dysco/build:$PATH
%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
export DEBIAN_FRONTEND=noninteractive
# Fix command prompt in Singularity 3.5.2
printf 'export PS1="\u@$SINGULARITY_NAME:\w$ "' > /.singularity.d/env/999-psvars.sh
###############################################################################
# Installation of the utility packages and repositories
apt-get update -y
apt-get install -y wget vim apt-utils git build-essential pkg-config gcc cmake
add-apt-repository -y universe
apt-get install -y casacore-dev libgsl-dev libhdf5-dev libboost-all-dev
# Install Dysco https://github.com/aroffringa/dysco
cd $INSTALLER_PATH
git clone https://github.com/aroffringa/dysco
cd dysco
mkdir build
cd build
cmake -DPORTABLE=True ../
make -j 4
make install
# Cleanup the container
apt-get clean
apt-get autoclean
Download calibration-dysco_2022-05-27.def