forked from uct-cbio/16S-rDNA-dada2-pipeline
/
Dockerfile
27 lines (24 loc) · 801 Bytes
/
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
FROM rocker/verse
#Modified from here https://github.com/davismcc/r-tidybioc-img/blob/master/Dockerfile
LABEL description="Docker image containing latest R with tidyverse and Bioconductor packages"
# Install container-wide requrements gcc, pip, zlib, libssl, make, libncurses, fortran77, g++, R
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y --no-install-recommends \
build-essential \
git \
libcurl4-gnutls-dev \
libgsl-dev \
libncurses5-dev \
librdf0-dev \
libreadline-dev \
libssh2-1-dev \
libssl-dev \
libxml2-dev \
libzmq3-dev \
wget \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /usr/local/lib/R/site-library
ADD install.R /tmp/
RUN R -f /tmp/install.R
CMD ["R"]