-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
35 lines (30 loc) · 1.01 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
# Inheritance from bioconductor docker
FROM bioconductor/bioconductor_docker:devel
LABEL name="bioconductor/bioconductor_docker_basics" \
version="0.0.1" \
url="https://github.com/VallejosGroup/bioconductor_docker_basics" \
maintainer="catalina.vallejos@igmm.ed.ac.uk" \
description="Docker containing all requirements to run BASiCS" \
license="Artistic-2.0"
# Update apt-get
# Follows Bioc suggestion, required to compile Rmarkdown into pdf
RUN apt-get update \
&& apt-get install -y --no-install-recommends apt-utils \
&& apt-get install -y --no-install-recommends \
texlive \
texlive-latex-extra \
texlive-fonts-extra \
texlive-bibtex-extra \
texlive-science \
texi2html \
texinfo \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Trying to fix rmarkdown issue
RUN touch /home/rstudio/.Rprofile
# Install R packages from CRAN
COPY install_cran.R /tmp
RUN Rscript /tmp/install_cran.R
# Install R packages from Bioconductor
COPY install_bioc.R /tmp
RUN Rscript /tmp/install_bioc.R