-
Notifications
You must be signed in to change notification settings - Fork 13
/
Singularity
36 lines (25 loc) · 1.01 KB
/
Singularity
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
BootStrap: debootstrap
OSVersion: trusty
MirrorURL: http://us.archive.ubuntu.com/ubuntu/
%environment
SHELL=/bin/bash
PATH=/opt/anaconda/bin:${PATH}
%runscript
echo "This is what happens when you run the container..."
PATH=/opt/anaconda/bin:${PATH}
echo "This is what happens when you run the container..."
%post
echo "Hello from inside the container"
sed -i 's/$/ universe/' /etc/apt/sources.list
apt-get update
apt-get upgrade
apt-get -y --force-yes install build-essential cmake make zlib1g-dev python python-dev python-setuptools git wget
cd /root/ && wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
cd /root/ && chmod 700 ./Miniconda3-latest-Linux-x86_64.sh
cd /root/ && bash ./Miniconda3-latest-Linux-x86_64.sh -b -p /opt/anaconda/
export PATH=/opt/anaconda/bin:${PATH}
pip install numpy cython
git clone https://github.com/SciLifeLab/TIDDIT.git
mv TIDDIT/* /bin/
cd /bin/ && ./INSTALL.sh
chmod +x /bin/TIDDIT.py