Skip to content

Commit a3a9c63

Browse files
committed
Fix PostGIS build: use sequential make to avoid race condition
The parallel make was causing race conditions with the raster module even when configured with --without-raster.
1 parent 8909b98 commit a3a9c63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile.pg_lake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ RUN git clone --branch v${PGVECTOR_VERSION} --depth 1 https://github.com/pgvecto
6363
make OPTFLAGS="" -j$(nproc) && \
6464
make install
6565

66-
# PostGIS with Tiger geocoder and address standardizer
66+
# PostGIS (without raster and topology for smaller build)
6767
RUN curl -L https://download.osgeo.org/postgis/source/postgis-${POSTGIS_VERSION}.tar.gz | tar xz && \
6868
cd postgis-${POSTGIS_VERSION} && \
6969
./configure --without-raster --without-topology && \
70-
make -j$(nproc) && \
70+
make && \
7171
make install
7272

7373
# pg_textsearch (BM25)

0 commit comments

Comments
 (0)