Skip to content

Commit 4af63b9

Browse files
authored
Update Dockerfile
1 parent abb8456 commit 4af63b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python_docker_for_ubuntu/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ RUN useradd -m -s /bin/bash -N -u $NB_UID $NB_USER && \
4242
groupadd $NB_GROUP && \
4343
usermod -a -G $NB_GROUP $NB_USER
4444

45+
RUN R CMD BATCH --no-site-file --no-save --no-restore "install.packages('devtools')"
46+
RUN R CMD BATCH --no-site-file --no-save --no-restore "devtools::install_github('IRkernel/IRkernel')"
47+
RUN R CMD BATCH --no-site-file --no-save --no-restore "IRkernel::installspec()"
48+
4549
USER $NB_USER
4650
WORKDIR /home/$NB_USER
4751

@@ -81,8 +85,4 @@ RUN pip install \
8185
slackclient \
8286
asana
8387

84-
#RUN R CMD BATCH "install.packages('devtools')"
85-
#RUN R CMD BATCH "devtools::install_github('IRkernel/IRkernel')"
86-
#RUN R CMD BATH "IRkernel::installspec()"
87-
8888
CMD ["bash"]

0 commit comments

Comments
 (0)