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.
This commit is contained in:
Mladen Kolovic
2016-03-14 13:31:19 -04:00
parent 918deae453
commit be4ca70017

View File

@@ -63,7 +63,8 @@ USER jovyan
# Setup jovyan home directory
RUN mkdir /home/$NB_USER/work && \
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
RUN cd /tmp && \