From de79fe1c19ee9b6a40f1dc6da01b9528aa66177b Mon Sep 17 00:00:00 2001 From: Zarino Zappia Date: Fri, 5 Jul 2024 10:38:47 +0100 Subject: [PATCH] Add libgdal to Dockerfile 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. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a5e767cc8..dd5b878ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"