From f1b54755de1560ee020b0f855f135a4c741fef81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mirko=20M=C3=A4licke?= Date: Tue, 9 Jul 2024 08:21:28 +0200 Subject: [PATCH] pre-load duckdb spatial extension --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index ec0ca1a..8b09bd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,6 +54,9 @@ RUN arch=$(uname -m | sed s/x86_64/amd64/) && \ chmod +x ./duckdb && \ mv ./duckdb /duck/duckdb +# pre-install the spatial extension into duckdb as it will be used +RUN /duck/duckdb -c "INSTALL spatial;" + # go to the source directory of this tool WORKDIR /src CMD ["python", "run.py"]