Skip to content

Commit 2869054

Browse files
author
Leah Wasser
authored
Merge pull request #60 from ocefpaf/activate_base
source base -- this should fix the issues associated with importing rasterio!!
2 parents 335693f + 12b8542 commit 2869054

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ MAINTAINER Leah Wasser <leah.wasser@colorado.edu>
44

55
COPY environment.yml environment.yml
66

7-
RUN conda env update -n root -f environment.yml \
7+
RUN conda env update --name base --file environment.yml \
88
&& conda info --envs \
99
&& conda list \
1010
&& rm environment.yml
1111

12+
ENV PROJ_LIB $CONDA_DIR/share/proj
13+
1214
# Test imports
1315
RUN python -c "import rasterio"
1416
RUN python -c "import earthpy"

0 commit comments

Comments
 (0)