Skip to content

Commit

Permalink
[SEDONA-665] Ping rasterio version to < 1.4.0 in Docker (#1641)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayuasu authored Oct 15, 2024
1 parent 347550c commit c44be9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker/sedona-spark-jupyterlab/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ fiona==1.8.22
pandas==1.5.3
shapely==2.0.4
geopandas==0.14.4
rasterio==1.3.11
ipykernel
ipywidgets
jupyterlab==3.6.4
Expand Down
3 changes: 2 additions & 1 deletion docker/sedona-spark-jupyterlab/sedona-jupyterlab.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ COPY ./ ${SEDONA_HOME}/
RUN chmod +x ${SEDONA_HOME}/docker/spark.sh
RUN chmod +x ${SEDONA_HOME}/docker/sedona.sh
RUN ${SEDONA_HOME}/docker/spark.sh ${spark_version} ${hadoop_version} ${hadoop_s3_version} ${aws_sdk_version} ${spark_xml_version}
RUN ${SEDONA_HOME}/docker/sedona.sh ${sedona_version} ${geotools_wrapper_version} ${spark_version} ${spark_extension_version}

# Install Python dependencies
COPY docker/sedona-spark-jupyterlab/requirements.txt /opt/requirements.txt
RUN pip3 install -r /opt/requirements.txt

RUN ${SEDONA_HOME}/docker/sedona.sh ${sedona_version} ${geotools_wrapper_version} ${spark_version} ${spark_extension_version}

COPY docs/usecases/*.ipynb /opt/workspace/examples/
COPY docs/usecases/*.py /opt/workspace/examples/
COPY docs/usecases/data /opt/workspace/examples/data
Expand Down

0 comments on commit c44be9d

Please sign in to comment.