Skip to content

Commit

Permalink
pre-load duckdb spatial extension
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaelicke committed Jul 9, 2024
1 parent a9eb4b4 commit f1b5475
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit f1b5475

Please sign in to comment.