Commit b551249c authored by Yohan Jarosz's avatar Yohan Jarosz

Change root forlder for checkpoint library

parent 27665e36
......@@ -34,16 +34,16 @@ RUN mkdir -p /home/imp/code /home/imp/output /home/imp/data /home/imp/bin /home/
&& git clone --branch 1.3 --single-branch https://git-r3lab.uni.lu/IMP/IMP.git . \
&& cd /usr && ln -s /home/imp/databases db
USER imp
# R with checkpoint libraries
ADD dependencies.R /home/imp/lib/
RUN mkdir /home/imp/.checkpoint \
&& echo "r <- getOption('repos'); r['CRAN'] <- 'http://cran.us.r-project.org'; options(repos = r);" > ~/.Rprofile \
RUN mkdir /root/.checkpoint \
&& echo "r <- getOption('repos'); r['CRAN'] <- 'http://cran.us.r-project.org'; options(repos = r);" > /root/.Rprofile \
&& Rscript -e "install.packages('checkpoint')" \
&& Rscript -e "library(checkpoint);checkpoint('2015-04-27', project='/home/imp/lib')" \
&& Rscript -e "source('http://bioconductor.org/biocLite.R');biocLite('genomeIntervals')"
&& Rscript -e "source('http://bioconductor.org/biocLite.R');biocLite('genomeIntervals')"\
&& chmod -R 777 /root/.checkpoint /root/.Rprofile
USER root
#### Add gosu
ENV GOSU_VERSION 1.7
RUN set -x \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment