File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,27 @@ RUN apt-get -y update && \
3131 gfortran \
3232 mysql-client-5.7 \
3333 sqlite3 \
34+ littler \
35+ r-cran-littler \
3436 r-base \
3537 r-base-dev \
38+ r-recommended \
3639 libsqlite3-dev
37-
40+
3841RUN locale-gen en_US.UTF-8
3942RUN dpkg-reconfigure locales
4043
44+ RUN echo 'options(repos = c(CRAN = "https://cran.rstudio.com/"), download.file.method = "libcurl")' >> /etc/R/Rprofile.site \
45+ && echo 'source("/etc/R/Rprofile.site")' >> /etc/littler.r \
46+ && ln -s /usr/share/doc/littler/examples/install.r /usr/local/bin/install.r \
47+ && ln -s /usr/share/doc/littler/examples/install2.r /usr/local/bin/install2.r \
48+ && ln -s /usr/share/doc/littler/examples/installGithub.r /usr/local/bin/installGithub.r \
49+ && ln -s /usr/share/doc/littler/examples/testInstalled.r /usr/local/bin/testInstalled.r \
50+ && install.r docopt \
51+ && rm -rf /tmp/downloaded_packages/ /tmp/*.rds \
52+ && rm -rf /var/lib/apt/lists/*
53+
54+
4155RUN useradd -m -s /bin/bash -N -u $NB_UID $NB_USER && \
4256 groupadd $NB_GROUP && \
4357usermod -a -G $NB_GROUP $NB_USER
You can’t perform that action at this time.
0 commit comments