Fix wrong user for apt-get in r-notebook

This commit is contained in:
Peter Parente
2015-09-12 20:39:55 -04:00
parent d51afb34f7
commit aec1c74825

View File

@@ -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 \