forked from genepi/imputationserver-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (22 loc) · 941 Bytes
/
Dockerfile
File metadata and controls
30 lines (22 loc) · 941 Bytes
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
FROM genepi/cloudgene:v2.4.1
MAINTAINER Sebastian Schoenherr <sebastian.schoenherr@i-med.ac.at>, Lukas Forer <lukas.forer@i-med.ac.at>
# Install dependencies for R packages
RUN apt update && \
apt -y install \
libxml2-dev \
libcurl4-openssl-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install R Packages
RUN R -e "install.packages('RColorBrewer', repos = 'http://cran.rstudio.com' )"
RUN R -e "source('https://bioconductor.org/biocLite.R' )" -e 'biocLite("geneplotter")'
# Add imputationserver specific pages
ADD pages /opt/cloudgene/sample/pages
# Add apps.yaml file with imputationserver and hapmap2
ADD apps.yaml /opt/cloudgene/apps.yaml
# Imputation Server Branding
ENV CLOUDGENE_SERVICE_NAME="Michigan Imputation Server"
ENV CLOUDGENE_HELP_PAGE="http://imputationserver.readthedocs.io"
ENV CLOUDGENE_REPOSITORY="/opt/cloudgene/apps.yaml"
# run startup script to start Hadoop and Cloudgene
CMD ["/usr/bin/startup"]