mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-14 13:32:56 +00:00
Fix wrong user for apt-get in r-notebook
This commit is contained in:
@@ -3,7 +3,7 @@ FROM jupyter/minimal-notebook
|
|||||||
|
|
||||||
MAINTAINER Jupyter Project <jupyter@googlegroups.com>
|
MAINTAINER Jupyter Project <jupyter@googlegroups.com>
|
||||||
|
|
||||||
USER jovyan
|
USER root
|
||||||
|
|
||||||
# R pre-requisites
|
# R pre-requisites
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
@@ -13,6 +13,8 @@ RUN apt-get update && \
|
|||||||
gfortran \
|
gfortran \
|
||||||
gcc && apt-get clean
|
gcc && apt-get clean
|
||||||
|
|
||||||
|
USER jovyan
|
||||||
|
|
||||||
# R packages
|
# R packages
|
||||||
RUN conda config --add channels r
|
RUN conda config --add channels r
|
||||||
RUN conda install --yes \
|
RUN conda install --yes \
|
||||||
|
Reference in New Issue
Block a user