File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
rf-notebook/src/main/docker Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -34,21 +34,19 @@ RUN cd /usr/local && ln -s spark-${APACHE_SPARK_VERSION}-bin-hadoop${HADOOP_VERS
3434ENV SPARK_HOME /usr/local/spark
3535ENV PYTHONPATH $SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.10.7-src.zip
3636ENV SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info
37+ ENV RF_LIB_LOC=/usr/local/rasterframes
3738
38- COPY conda_cleanup.sh .
39- RUN chmod u+x conda_cleanup.sh
39+ COPY conda_cleanup.sh $RF_LIB_LOC/
40+ RUN chmod u+x $RF_LIB_LOC/ conda_cleanup.sh
4041
4142ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/conda/lib"
4243# Sphinx (for Notebook->html) and pyarrow (from pyspark build)
4344RUN \
44- conda install --quiet --yes pyarrow \
45- anaconda sphinx nbsphinx shapely numpy folium geopandas geojsonio rasterio descartes && \
46- ./conda_cleanup.sh $NB_USER $CONDA_DIR
47-
48- ENV RF_LIB_LOC=/usr/local/rasterframes
49- RUN mkdir $RF_LIB_LOC
45+ conda install --quiet --yes --channel conda-forge \
46+ pyarrow anaconda sphinx nbsphinx shapely numpy folium geopandas geojsonio rasterio descartes && \
47+ $RF_LIB_LOC/conda_cleanup.sh $NB_USER $CONDA_DIR
5048
51- COPY *.whl $RF_LIB_LOC
49+ COPY *.whl $RF_LIB_LOC/
5250COPY jupyter_notebook_config.py $HOME/.jupyter
5351COPY examples $HOME/examples
5452
You can’t perform that action at this time.
0 commit comments