Skip to content

Commit

Permalink
fix: Problem GDAL missed
Browse files Browse the repository at this point in the history
  • Loading branch information
caviri committed Nov 19, 2024
1 parent 0baeea0 commit c83d969
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,17 @@ RUN pip install -r /tmp/odtp.requirements.txt
# PLEASE INSTALL HERE ALL SYSTEM DEPENDENCIES RELATED TO YOUR TOOL
#######################################################################

# GDAL Setup

RUN apt-get update && \
apt-get install -y libgdal-dev && \
apt-get clean;
RUN export CPLUS_INCLUDE_PATH=/usr/include/gdal
RUN export C_INCLUDE_PATH=/usr/include/gdal

# Installing dependecies from the app
COPY requirements.txt /tmp/requirements.txt
RUN pip install --upgrade pip
RUN pip install -r /tmp/requirements.txt


Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ docker run -it --rm -v ${pwd}/odtp-input:/odtp/odtp-input -v ${pwd}/odtp-output:
- Updated component client to v0.1.2
- Github actions for docker building
- Fix on windows build
- Added GDAL, rasterio, and fiona as dependencies to solve problem when building for arm64.

- v0.0.2
- Update to mobility-metrics `0.0.1`
Expand Down

0 comments on commit c83d969

Please sign in to comment.