Skip to content

Commit 3878cf6

Browse files
authored
Merge pull request #262 from s22s/feature/gdal-support-in-rf-notebook
Update LD_LIBRARY_PATH to ensure access to GDAL in rasterframes notebook
2 parents d5559d6 + 28d0205 commit 3878cf6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

rf-notebook/src/main/docker/Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ FROM s22s/pyspark-notebook:spark-2.3.3-hadoop-2.7
22

33
MAINTAINER Astraea, Inc.
44

5-
ENV RF_LIB_LOC /usr/local/rasterframes
5+
ENV RF_LIB_LOC=/usr/local/rasterframes \
6+
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/conda/lib"
67

78
USER root
89

@@ -14,11 +15,6 @@ EXPOSE 4040 4041 4042 4043 4044
1415
RUN conda install --quiet --yes \
1516
anaconda sphinx nbsphinx shapely numpy folium geopandas geojsonio
1617

17-
RUN apt-get update && \
18-
apt-get install -y gdal-bin && \
19-
apt autoremove && \
20-
apt-get clean all
21-
2218
# Cleanup pip residuals
2319
RUN rm -rf /home/$NB_USER/.local && \
2420
fix-permissions /home/$NB_USER

0 commit comments

Comments
 (0)