Skip to content

Commit 81c42fa

Browse files
authored
Merge pull request planetlabs#106 from planetlabs/rasterio-import-105
force conda to only use conda-forge for install
2 parents d92943e + ff4aba1 commit 81c42fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

planet-notebook-docker/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ FROM jupyter/minimal-notebook:414b5d749704
44

55
# install dependencies
66
COPY requirements.txt /tmp/requirements.txt
7-
RUN conda install -y -c conda-forge --file /tmp/requirements.txt
7+
8+
# without channel set to strict, a conflicting version of gdal
9+
# is sometimes installed from the default channel
10+
RUN conda config --set channel_priority strict && \
11+
conda install -y -c conda-forge --file /tmp/requirements.txt
812

913
# Enable Jupyter extentions
1014
RUN jupyter nbextension enable --py widgetsnbextension --sys-prefix && \

0 commit comments

Comments
 (0)