-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile-dev
61 lines (48 loc) · 2.17 KB
/
Dockerfile-dev
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
FROM ubuntu:20.04
################## METADATA ######################
LABEL version="0.2"
LABEL software="GenomeChronicler"
LABEL about.tags="GenomeChronicler, PGP-UK"
LABEL authors="ismail.moghul@gmail.com,a.guerra@ucl.ac.uk,chatzipantsiou@gmail.com"
LABEL description="Docker image containing base requirements for PGP-UK GenomeChronicler"
ENV LC_ALL=C
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get install -y \
software-properties-common \
wget \
r-base-core \
tk-dev \
mesa-common-dev \
python3 python3-pip \
libhts-dev \
&& add-apt-repository ppa:linuxuprising/java \
&& apt-get install -y openjdk-8-jdk
# Python
RUN pip3 install fire==0.5.0 pandas==1.5.3 xlsxwriter==3.0.9 tqdm==4.65.0 \
matplotlib==3.7.1 seaborn==0.12.2
# R
RUN R --slave -e 'install.packages(c("RColorBrewer", "TeachingDemos"))'
# LaTeX - update needed for repos after R
RUN apt-get install -y \
texlive-latex-base \
texlive-fonts-recommended \
texlive-latex-extra \
lmodern \
&& apt-get clean \
&& apt-get purge \
&& rm -rf /var/lib/apt/lists/* /tmp/*
RUN wget https://github.com/samtools/htslib/releases/download/1.16/htslib-1.16.tar.bz2 \
&& tar -xjf htslib-1.16.tar.bz2 && rm htslib-1.16.tar.bz2 \
&& cd htslib-1.16 && ./configure && make && make install
RUN wget https://github.com/samtools/samtools/releases/download/1.16.1/samtools-1.16.1.tar.bz2 \
&& tar -xjf samtools-1.16.1.tar.bz2 && rm samtools-1.16.1.tar.bz2 \
&& cd samtools-1.16.1 && ./configure && make && make install
RUN wget https://github.com/samtools/bcftools/releases/download/1.16/bcftools-1.16.tar.bz2 \
&& tar -xjf bcftools-1.16.tar.bz2 && rm bcftools-1.16.tar.bz2 \
&& cd bcftools-1.16 && ./configure && make && make install
WORKDIR /GenomeChronicler
RUN wget -qO- https://github.com/PGP-UK/GenomeChronicler/releases/download/0.91/reference.tar.gz | tar xvz
RUN wget -qO- https://github.com/PGP-UK/GenomeChronicler/releases/download/0.91/software.tar.gz | tar xvz software.linux && mv software.linux software
ENV PATH "$PATH:/GenomeChronicler/scripts"
CMD /GenomeChronicler/scripts/genomechronicler