From 3f252caa4049739c600dac637e7fbf691d1f5c41 Mon Sep 17 00:00:00 2001 From: Michele Mattioni Date: Mon, 6 Jun 2016 16:28:48 +0100 Subject: [PATCH] Added Dockerfile --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..17ebbc7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM ubuntu:xenial + +RUN apt-get update && apt-get install -y \ + libcurl4-openssl-dev \ + libxml2-dev \ + apt-transport-https \ + libssl-dev \ + r-base-dev + + +RUN Rscript -e 'source("http://bioconductor.org/biocLite.R"); biocLite("ComplexHeatmap") ; biocLite("VariantAnnotation"); biocLite("Biostrings")' +#RUN Rscript -e 'install.packages("kinitr", repos="http://cran.uk.r-project.org")' +RUN Rscript -e 'install.packages("devtools", repos="http://cran.uk.r-project.org", dependencies=TRUE)' + +ADD . /opt/maftools/ +WORKDIR /opt/maftools + +# We need to build the script locally +RUN Rscript -e 'library("devtools"); devtools::install()'