-
Notifications
You must be signed in to change notification settings - Fork 0
/
jitter_container
39 lines (30 loc) · 1.22 KB
/
jitter_container
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
35
36
37
38
Bootstrap: docker
From: ubuntu:16.04
%environment
SHELL=/bin/bash
PATH=/opt/anaconda/bin:${PATH}
LC_ALL=C.UTF-8
ROOTSYS=/opt/root/
LD_LIBRARY_PATH=/opt/root/lib
%runscript
echo "This is what happens when you run the container..."
export PATH=/opt/anaconda/bin:${PATH}
%post
echo "Hello from inside the container"
apt-get update
apt-get -y install wget git bzip2 build-essential gcc zlib1g-dev language-pack-en-base apt-transport-https make cmake unzip libncurses5-dev libncursesw5-dev
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
cd /root/ && wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
cd /root/ && chmod 700 ./Miniconda2-latest-Linux-x86_64.sh
cd /root/ && bash ./Miniconda2-latest-Linux-x86_64.sh -b -p /opt/anaconda/
export PATH=/opt/anaconda/bin:${PATH}
pip install pysam
pip install numpy
pip install matplotlib
pip install matplotlib-venn
pip install pybedtools psutil pandas memory_profiler
conda update -n base -c defaults conda
conda config --add channels defaults
conda config --add channels conda-forge
conda config --add channels bioconda
cd /bin/ && wget https://github.com/elzbth/jitterbug.git