From 2c2761e71e3c46aef23792154cd3d37f1f04ff3c Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 30 Jul 2018 12:23:31 +0200 Subject: [PATCH] checkout the two repositories for RStudioConfiguration and RPackagesManagement --- Dockerfile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 364c551..cd71528 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,7 +58,18 @@ COPY LatexMk /etc/LatexMk RUN mkdir -p /srv/d4science -RUN ln -s /srv/d4science/RStudioConfiguration/.Rprofile /etc/R/Rprofile.site +RUN cd /srv/d4science ; svn checkout http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/RConfiguration/RStudioConfiguration + +RUN rm -f /etc/R/Rprofile.site && ln -s /srv/d4science/RStudioConfiguration/.Rprofile /etc/R/Rprofile.site + +RUN mkdir -p /srv/r_updater + +RUN cd /srv/r_updater ; svn checkout http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-analysis/RConfiguration/RPackagesManagement + +RUN cp install-r-packages.cron /etc/cron.d +RUN cp upgrade-r-packages.cron /etc/cron.d +RUN cp update-rprofile.cron /etc/cron.d +RUN cp update_r_packages /usr/local/bin/update_r_packages ; chmod 755 /usr/local/bin/update_r_packages EXPOSE 80