Skip to content

Commit 6b8a887

Browse files
committed
Fix permissions error from missing file
1 parent 02d804d commit 6b8a887

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

datascience/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,15 @@ LABEL maintainer="UW-IT AXDD <[email protected]>"
1414
# caret, tidymodels, rcurl, randomforest#
1515
# julia, ijulia, hdf5, gadfly, rdatasets
1616

17-
RUN conda install \
18-
requests
17+
RUN mkdir /opt/conda/pkg
18+
RUN touch /opt/conda/pkg/urls.txt
19+
20+
RUN set -ex \
21+
&& conda install --quiet --yes \
22+
requests \
23+
&& conda clean --all -f -y \
24+
&& fix-permissions "${CONDA_DIR}" \
25+
&& fix-permissions "/home/${NB_USER}"
1926

2027
# Install Python 3 packages
2128
RUN pip install \

0 commit comments

Comments
 (0)