|
|
|
@ -53,6 +53,8 @@ RUN apt-get update && apt-get install -y \
|
|
|
|
|
r-cran-matrix \
|
|
|
|
|
jags
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y cron
|
|
|
|
|
|
|
|
|
|
# copy the LatexMk file needed by knitr
|
|
|
|
|
COPY LatexMk /etc/LatexMk
|
|
|
|
|
|
|
|
|
@ -66,10 +68,12 @@ 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
|
|
|
|
|
RUN mkdir -p /etc/cron.d
|
|
|
|
|
COPY install-r-packages.cron /etc/cron.d/install-r-packages
|
|
|
|
|
COPY upgrade-r-packages.cron /etc/cron.d/upgrade-r-packages
|
|
|
|
|
COPY update-rprofile.cron /etc/cron.d/update-rprofile
|
|
|
|
|
COPY update_r_packages /usr/local/bin/update_r_packages
|
|
|
|
|
RUN chmod 755 /usr/local/bin/update_r_packages
|
|
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
|
|