Commit be4ca700 authored by Mladen Kolovic's avatar Mladen Kolovic

Add cacert to .curlrc in home directory

Specify `cacert=/etc/ssl/certs/ca-certificates.crt` in `/home/$NB_USER/.curlrc` so curl can locate the certificates.
parent 918deae4
...@@ -63,7 +63,8 @@ USER jovyan ...@@ -63,7 +63,8 @@ USER jovyan
# 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 /home/$NB_USER/.local mkdir /home/$NB_USER/.local && \
echo "cacert=/etc/ssl/certs/ca-certificates.crt" > /home/$NB_USER/.curlrc
# Install conda as jovyan # Install conda as jovyan
RUN cd /tmp && \ RUN cd /tmp && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment