checkout the two repositories for RStudioConfiguration and RPackagesManagement

This commit is contained in:
Andrea Dell'Amico 2018-07-30 12:23:31 +02:00
parent fca12140c0
commit 2c2761e71e
1 changed files with 12 additions and 1 deletions

View File

@ -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