forked from Steven-N-Hart/CAVA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
43 lines (38 loc) · 1.2 KB
/
Dockerfile
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
39
40
41
42
43
FROM ubuntu:latest
RUN export DEBIAN_FRONTEND=noninteractive; \
export DEBCONF_NONINTERACTIVE_SEEN=true; \
echo 'tzdata tzdata/Areas select Etc' | debconf-set-selections; \
echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections; \
apt-get update -qqy \
&& apt-get install -qqy --no-install-recommends \
tzdata \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update
RUN apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
build-essential \
autoconf \
libtool \
pkg-config \
gnupg-agent \
software-properties-common \
python3 \
python3-dev \
python3-distutils \
git \
libcurl4-nss-dev \
zlib1g-dev \
bedtools \
samtools \
tabix
#Needed to download UCUSC librarires
RUN echo -e "[system_default_sect]\nMinProtocol = TLSv1.2\nCipherString = DEFAULT@SECLEVEL=2" >> etc/ssl/openssl.cnf
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py
RUN pip install appdirs
RUN pip install Cython flake8 packaging py pylint pyparsing pysam pytest pytest-cov radon six sphinx gevent CrossMap bgzip
RUN mkdir /CAVA/
ADD . CAVA/
RUN cd CAVA/ && python3 setup.py install