From 50061c4a0432c2a465172a19c1cecc91429cb461 Mon Sep 17 00:00:00 2001 From: Sergey Babinskiy Date: Wed, 29 Mar 2023 11:31:21 -0700 Subject: [PATCH] Update a list of dependencies to compile new versions of PostGis --- scripts/build-postgres-alpine.sh | 2 +- scripts/build-postgres-debian.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-postgres-alpine.sh b/scripts/build-postgres-alpine.sh index f5abeb98..916e739b 100755 --- a/scripts/build-postgres-alpine.sh +++ b/scripts/build-postgres-alpine.sh @@ -105,7 +105,7 @@ $DOCKER_OPTS $IMG_NAME /bin/sh -ex -c 'echo "Starting building postgres binaries && make -C contrib install \ \ && if [ -n "$POSTGIS_VERSION" ]; then \ - apk add --no-cache curl g++ json-c-dev linux-headers sqlite sqlite-dev sqlite-libs unzip \ + apk add --no-cache curl g++ json-c-dev linux-headers sqlite sqlite-dev sqlite-libs unzip protobuf-c-compiler libprotobuf-dev libprotobuf-c-dev \ && mkdir -p /usr/src/proj \ && curl -sL "https://download.osgeo.org/proj/proj-$PROJ_VERSION.tar.gz" | tar -xzf - -C /usr/src/proj --strip-components 1 \ && cd /usr/src/proj \ diff --git a/scripts/build-postgres-debian.sh b/scripts/build-postgres-debian.sh index 94ccadee..ea5e3960 100755 --- a/scripts/build-postgres-debian.sh +++ b/scripts/build-postgres-debian.sh @@ -97,7 +97,7 @@ $DOCKER_OPTS $IMG_NAME /bin/bash -ex -c 'echo "Starting building postgres binari && make -C contrib install \ \ && if [ -n "$POSTGIS_VERSION" ]; then \ - apt-get install -y --no-install-recommends curl libjson-c-dev libsqlite3-0 libsqlite3-dev sqlite3 unzip \ + apt-get install -y --no-install-recommends curl libjson-c-dev libsqlite3-0 libsqlite3-dev sqlite3 unzip protobuf-c-compiler libprotobuf-dev libprotobuf-c-dev \ && mkdir -p /usr/src/proj \ && curl -sL "https://download.osgeo.org/proj/proj-$PROJ_VERSION.tar.gz" | tar -xzf - -C /usr/src/proj --strip-components 1 \ && cd /usr/src/proj \