-
Notifications
You must be signed in to change notification settings - Fork 485
Closed
Description
I want to import a geojson file into a table.
The command I found used ogr2ogr from gdal, but this docker image doesn't compile gdal with postgres support.
Would a PR to compile gdal with postgres support be appreciated?
diff --git a/14-master/Dockerfile b/14-master/Dockerfile
index 8a73ad4..500b757 100644
--- a/14-master/Dockerfile
+++ b/14-master/Dockerfile
@@ -56,7 +56,8 @@ RUN set -ex \
make \
pkg-config \
protobuf-c-compiler \
- xsltproc
+ xsltproc \
+ libpq-dev
# sfcgal
ENV SFCGAL_VERSION master
@@ -131,7 +132,7 @@ RUN set -ex \
fi \
\
&& ./autogen.sh \
- && ./configure --disable-static \
+ && ./configure --disable-static --with-pg \
&& make -j$(nproc) \
&& make install \
&& cd / \
If so, which dockerfiles should be modified?
Metadata
Metadata
Assignees
Labels
No labels