-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
executable file
·49 lines (34 loc) · 1.26 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
44
45
46
47
48
49
FROM php:7-apache
COPY ./vsim.com /var/www/html
WORKDIR /app/VSIM
COPY ./VSIM /app/VSIM
RUN chown -R www-data:www-data /app && \
chmod -R g+w /app
RUN apt-get update && \
apt-get install -y bedtools
RUN apt-get install -y python3
RUN apt-get install -y python3-pip
RUN pip3 install -r requirements.txt
RUN apt-get install -y \
wget \
unzip \
build-essential \
zlib1g-dev \
git
### Installing tabix/bgzip/vcftools
RUN apt-get install -y tabix && \
apt-get install -y vcftools
#install vcfanno
#RUN wget https://github.com/brentp/vcfanno/releases/download/v0.3.1/vcfanno_linux64
#RUN chmod a+x vcfanno_linux64
#RUN ln -s vcfanno_linux64 vcfanno
RUN wget https://github.com/brentp/vcfanno/releases/download/v0.3.1/vcfanno_linux64 && \
mv vcfanno_linux64 vcfanno && \
mv vcfanno /usr/local/bin && \
chmod 755 /usr/local/bin/vcfanno
# https://stackoverflow.com/questions/51656593/installing-java-on-docker-php7-1-apache-stretch/51657297
RUN mkdir -p /usr/share/man/man1
RUN apt-get -y install default-jre-headless
# https://askubuntu.com/questions/695560/assistive-technology-not-found-awterror
RUN sed -i -e '/^assistive_technologies=/s/^/#/' /etc/java-*-openjdk/accessibility.properties
RUN ln -s /app/VSIM /var/www/html/