From f46ec5455128c64e2f7defab78ae43e3cdc84010 Mon Sep 17 00:00:00 2001 From: Andrii Rieznik Date: Wed, 2 Oct 2024 13:59:25 +0200 Subject: [PATCH] fix: geos support (#29) --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a5c4db..849b51c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM debian:bookworm LABEL org.opencontainers.image.authors=andrii.rieznik@pm.me LABEL org.opencontainers.image.source=https://github.com/andrii-reznik/docker-python-gdal -LABEL org.opencontainers.image.description="Debian based image with pre-installed GDAL/OGR libraries and Python bindings" +LABEL org.opencontainers.image.description="Debian-based image bundled with GDAL/OGR and Python" LABEL org.opencontainers.image.licenses=MIT ARG PYTHON_VERSION=3.12.6 @@ -35,6 +35,7 @@ RUN \ \ curl \ cmake \ + libgeos-dev \ libproj-dev \ swig \ && rm -rf /var/lib/apt/lists/* \ @@ -72,4 +73,4 @@ RUN \ && rm -rf /var/lib/apt/lists/* \ && rm -rf "${SOURCE_DIR}" -CMD python -V && pip -V && gdalinfo --version +CMD ["python", "-V", "&&", "pip", "-V", "&&", "gdalinfo", "--version"]