This repository has been archived by the owner on Mar 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·69 lines (60 loc) · 1.61 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Test on automated build
# Base image
FROM ubuntu:16.04
# Set default shell
SHELL ["/bin/bash", "-c"]
# Init
USER root
# Update base image
RUN apt-get update && \
apt-get upgrade -y
# Install dependencies
RUN apt-get install -y --no-install-recommends \
bzip2 \
php7.0-mysql \
ca-certificates \
cmake \
less \
gcc \
rsync \
zlib1g-dev \
debconf-utils \
g++ \
libncurses5-dev \
libqt5xmlpatterns5-dev \
libqt5sql5-mysql \
make \
git \
php \
php7.0-xml \
python \
python-matplotlib \
python-software-properties \
qt5-default \
software-properties-common \
tabix \
unzip \
nano \
wget \
libbz2-dev \
liblzma-dev
# Install Java from custom repository
# Note that this auto-accepts the license terms
RUN add-apt-repository ppa:webupd8team/java && \
apt-get update && \
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections && \
apt-get install -y --no-install-recommends oracle-java8-installer oracle-java8-set-default
# Install and configure megSAP
RUN cd / && \
git clone https://github.com/sbilge/megSAP.git && \
cd /megSAP && cp settings.ini.default settings.ini && \
cd /megSAP/data && \
/bin/bash download_tools.sh && \
/bin/bash download_tools_somatic.sh
RUN chmod -R 777 megSAP
# Configure mount points
RUN cd /megSAP/data && \
mv dbs dbs_old && \
mv genomes genomes_old && \
ln -s /mnt/data/dbs && \
ln -s /mnt/data/genomes