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 authored and struan committed Jul 22, 2024
1 parent 04656f9 commit de79fe1
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 de79fe1

Please sign in to comment.