Skip to content

Commit 4bd6226

Browse files
committed
Fix the PostGIS install
Looks like we no longer need to install a specific version of PostGIS, as PostGIS 3 is available in the current PG12 image.
1 parent bbcd5e2 commit 4bd6226

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

engine/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,11 @@ ENV PYTHONPATH "${PYTHONPATH}:/splitgraph:/pg_es_fdw"
206206
ARG with_postgis
207207
RUN test -z "${with_postgis}" || (\
208208
export POSTGIS_MAJOR=3 && \
209-
export POSTGIS_VERSION=3.2.3+dfsg-1.pgdg100+1 && \
210209
apt-get update \
211210
&& apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
212211
&& apt-get install -y --no-install-recommends \
213-
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=$POSTGIS_VERSION \
214-
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts=$POSTGIS_VERSION \
212+
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
213+
postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts \
215214
&& rm -rf /var/lib/apt/lists/* && \
216215
echo "CREATE EXTENSION postgis;" >> /docker-entrypoint-initdb.d/000_create_extensions.sql)
217216

0 commit comments

Comments
 (0)