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