Skip to content

Commit f90d11f

Browse files
committed
upgrade version; control installation
1 parent 9231bb2 commit f90d11f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

r-jupyter/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@ RUN wget -q https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh
4545
COPY ubuntu/root/.jupyter /root/.jupyter/
4646

4747
# install r kernel
48-
RUN Rscript -e "install.packages('IRkernel', repos='https://mirrors.nics.utk.edu/cran/')" \
49-
-e "IRkernel::installspec()"
48+
RUN Rscript \
49+
-e "repos <- 'https://cloud.r-project.org/'" \
50+
-e "dependencies <- c('Depends', 'Imports', 'LinkingTo', 'Suggests', 'Enhances')" \
51+
-e "install.packages('IRkernel', repos=repos, Ncpus=10, dependencies=dependencies)" \
52+
-e "IRkernel::installspec()"
5053

5154
# setup volumes
5255
RUN mkdir /root/ipynb \

r-jupyter/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
ORGANIZATION=oneoffcoder
44
REPOSITORY=r-jupyter
5-
VERSION=0.0.2
5+
VERSION=0.0.3
66
IMAGEID=$REPOSITORY:local
77

88
echo ${IMAGEID}

0 commit comments

Comments
 (0)