Skip to content

Commit 78bfe71

Browse files
authored
Merge pull request #349 from s22s/fix/347
Added rasterio and decartes to Docker image
2 parents 6e78377 + 1db4176 commit 78bfe71

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

rf-notebook/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import PythonBuildPlugin.autoImport.pyWhl
44
lazy val includeNotebooks = settingKey[Boolean]("Whether to build documentation into notebooks and include them")
55
includeNotebooks := true
66

7-
Docker / packageName := "rasterframes-notebook"
7+
Docker / packageName := "s22s/rasterframes-notebook"
88

99
Docker / version := version.value
1010

rf-notebook/src/main/docker/Dockerfile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,18 @@ EXPOSE 4040 4041 4042 4043 4044
1313

1414
# Sphinx (for Notebook->html)
1515
RUN conda install --quiet --yes \
16-
anaconda sphinx nbsphinx shapely numpy folium geopandas geojsonio
16+
anaconda sphinx nbsphinx shapely numpy folium geopandas geojsonio rasterio descartes
1717

1818
# Cleanup pip residuals
1919
RUN rm -rf /home/$NB_USER/.local && \
20-
fix-permissions /home/$NB_USER
21-
22-
# Note: The above step takes an insanely long time in the CONDA_DIR, so commenting it out until we have perm issues.
23-
# fix-permissions $CONDA_DIR
20+
fix-permissions /home/$NB_USER && \
21+
fix-permissions $CONDA_DIR
2422

2523
COPY *.whl $RF_LIB_LOC
26-
RUN ls -1 $RF_LIB_LOC/*.whl | xargs pip install
2724
COPY jupyter_notebook_config.py $HOME/.jupyter
2825
COPY examples $HOME/examples
29-
RUN chmod -R +w $HOME/examples
3026

31-
RUN chown -R $NB_UID:$NB_GID $HOME
27+
RUN ls -1 $RF_LIB_LOC/*.whl | xargs pip install
28+
RUN chmod -R +w $HOME/examples && chown -R $NB_UID:$NB_GID $HOME
3229

3330
USER $NB_UID

0 commit comments

Comments
 (0)