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
|
||||
RUN mkdir /home/$NB_USER/work && \
|
||||
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
|
||||
|
||||
# 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
|
||||
# taking effect properly on the .local folder in the jovyan home dir.
|
||||
RUN julia -e 'Pkg.add("IJulia")' && \
|
||||
mv /home/$NB_USER/.local/share/jupyter/kernels/julia* $CONDA_DIR/share/jupyter/kernels/ && \
|
||||
chmod -R go+rx $CONDA_DIR/share/jupyter
|
||||
mv $HOME/.local/share/jupyter/kernels/julia* $CONDA_DIR/share/jupyter/kernels/ && \
|
||||
chmod -R go+rx $CONDA_DIR/share/jupyter && \
|
||||
rm -rf $HOME/.local
|
||||
|
||||
# Show Julia where conda libraries are
|
||||
# Add essential packages
|
||||
|
Reference in New Issue
Block a user