Skip to content

Commit

Permalink
Add libgdal to Dockerfile
Browse files Browse the repository at this point in the history
Geopandas requires gdal-option, which was missing when I built
the Docker image on my Mac yesterday. Installing libgdal-dev
makes the gdal-option command available, meaning the Docker
build works as expected.
  • Loading branch information
zarino committed Jul 5, 2024
1 parent a433471 commit 7cb15a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV INSIDE_DOCKER=1 \
POETRY_VIRTUALENVS_CREATE=false \
PYSETUP_PATH="/opt/pysetup"
RUN apt-get update && apt-get install -y \
binutils gdal-bin libproj-dev git npm \
binutils libgdal-dev gdal-bin libproj-dev git npm \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sSL https://install.python-poetry.org | python -
ENV PATH="/root/.local/bin:$PATH"
Expand Down

0 comments on commit 7cb15a2

Please sign in to comment.