Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Singularity Recipe for MultiBUGS
bootstrap: docker
from: ubuntu:18.04
This will run MultiBUGS
export PATH=/opt/multibugs:${PATH}
# Get dependencies
apt-get update
apt-get install -y --no-install-recommends \
# Configure default locale
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen en_US.utf8
/usr/sbin/update-locale LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# Get more dependencies
apt-get update
apt-get install -y --no-install-recommends build-essential
apt-get install -y --no-install-recommends \
libc6-dev libc6-i386 g++-multilib wget tar gnupg pax vim
# Get MPICH, bbcb, GTK2
apt-key add
dpkg --add-architecture i386
echo "deb testing main" | tee -a /etc/apt/sources.list
echo "deb testing main" | tee -a /etc/apt/sources.list
apt-get update
apt-get install -y --no-install-recommends bbcb
apt-get install -y --no-install-recommends libatk-adaptor:i386 libgtk2.0-0:i386 gtk2-engines:i386 gtk2-engines-murrine:i386 libcanberra-gtk-module:i386 gnome-themes-extra:i386 lib32stdc++6 packagekit-gtk3-module:i386 strace
apt-get install -y --no-install-recommends mpich:i386
# Get the pre-built Ubuntu 18.04 binaries
cd /opt
wget --no-check-certificate
tar xf multibugs_2.0.tar.gz
# Clean up
rm -rf /var/lib/apt/lists/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment