mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 15:32:56 +00:00
Fix #269, NB_UID regression
Workaround docker / aufs permission problems
This commit is contained in:
@@ -53,7 +53,6 @@ USER $NB_USER
|
|||||||
# Setup jovyan home directory
|
# Setup jovyan home directory
|
||||||
RUN mkdir /home/$NB_USER/work && \
|
RUN mkdir /home/$NB_USER/work && \
|
||||||
mkdir /home/$NB_USER/.jupyter && \
|
mkdir /home/$NB_USER/.jupyter && \
|
||||||
mkdir -p -m 700 /home/$NB_USER/.local/share/jupyter && \
|
|
||||||
echo "cacert=/etc/ssl/certs/ca-certificates.crt" > /home/$NB_USER/.curlrc
|
echo "cacert=/etc/ssl/certs/ca-certificates.crt" > /home/$NB_USER/.curlrc
|
||||||
|
|
||||||
# Install conda as jovyan
|
# Install conda as jovyan
|
||||||
|
@@ -50,8 +50,9 @@ RUN conda config --add channels r && \
|
|||||||
# to the system share location. Avoids problems with runtime UID change not
|
# to the system share location. Avoids problems with runtime UID change not
|
||||||
# taking effect properly on the .local folder in the jovyan home dir.
|
# taking effect properly on the .local folder in the jovyan home dir.
|
||||||
RUN julia -e 'Pkg.add("IJulia")' && \
|
RUN julia -e 'Pkg.add("IJulia")' && \
|
||||||
mv /home/$NB_USER/.local/share/jupyter/kernels/julia* $CONDA_DIR/share/jupyter/kernels/ && \
|
mv $HOME/.local/share/jupyter/kernels/julia* $CONDA_DIR/share/jupyter/kernels/ && \
|
||||||
chmod -R go+rx $CONDA_DIR/share/jupyter
|
chmod -R go+rx $CONDA_DIR/share/jupyter && \
|
||||||
|
rm -rf $HOME/.local
|
||||||
|
|
||||||
# Show Julia where conda libraries are
|
# Show Julia where conda libraries are
|
||||||
# Add essential packages
|
# Add essential packages
|
||||||
|
Reference in New Issue
Block a user