From 0170c3050df880e760a79387a2d9e22f183b5028 Mon Sep 17 00:00:00 2001 From: ImreSamu Date: Fri, 12 Nov 2021 12:46:15 +0100 Subject: [PATCH 1/3] update dockerfiles (-3.1;-master) --- 10-3.1/Dockerfile | 2 +- 11-3.1/Dockerfile | 2 +- 12-3.1/Dockerfile | 2 +- 13-3.1/Dockerfile | 2 +- 13-master/Dockerfile | 18 +++++++++--------- 14-3.1/Dockerfile | 2 +- 14-master/Dockerfile | 18 +++++++++--------- 9.6-3.1/Dockerfile | 2 +- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/10-3.1/Dockerfile b/10-3.1/Dockerfile index a6e023fb3..49915af80 100644 --- a/10-3.1/Dockerfile +++ b/10-3.1/Dockerfile @@ -3,7 +3,7 @@ FROM postgres:10-bullseye LABEL maintainer="PostGIS Project - https://postgis.net" ENV POSTGIS_MAJOR 3 -ENV POSTGIS_VERSION 3.1.4+dfsg-1.pgdg110+1 +ENV POSTGIS_VERSION 3.1.4+dfsg-3.pgdg110+1 RUN apt-get update \ && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \ diff --git a/11-3.1/Dockerfile b/11-3.1/Dockerfile index e68d166a4..4eacb067a 100644 --- a/11-3.1/Dockerfile +++ b/11-3.1/Dockerfile @@ -3,7 +3,7 @@ FROM postgres:11-bullseye LABEL maintainer="PostGIS Project - https://postgis.net" ENV POSTGIS_MAJOR 3 -ENV POSTGIS_VERSION 3.1.4+dfsg-1.pgdg110+1 +ENV POSTGIS_VERSION 3.1.4+dfsg-3.pgdg110+1 RUN apt-get update \ && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \ diff --git a/12-3.1/Dockerfile b/12-3.1/Dockerfile index 6997a0bb0..92a6ad06d 100644 --- a/12-3.1/Dockerfile +++ b/12-3.1/Dockerfile @@ -3,7 +3,7 @@ FROM postgres:12-bullseye LABEL maintainer="PostGIS Project - https://postgis.net" ENV POSTGIS_MAJOR 3 -ENV POSTGIS_VERSION 3.1.4+dfsg-1.pgdg110+1 +ENV POSTGIS_VERSION 3.1.4+dfsg-3.pgdg110+1 RUN apt-get update \ && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \ diff --git a/13-3.1/Dockerfile b/13-3.1/Dockerfile index 881a905b6..863a600b7 100644 --- a/13-3.1/Dockerfile +++ b/13-3.1/Dockerfile @@ -3,7 +3,7 @@ FROM postgres:13-bullseye LABEL maintainer="PostGIS Project - https://postgis.net" ENV POSTGIS_MAJOR 3 -ENV POSTGIS_VERSION 3.1.4+dfsg-1.pgdg110+1 +ENV POSTGIS_VERSION 3.1.4+dfsg-3.pgdg110+1 RUN apt-get update \ && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \ diff --git a/13-master/Dockerfile b/13-master/Dockerfile index bd2ee0003..2e185da81 100644 --- a/13-master/Dockerfile +++ b/13-master/Dockerfile @@ -61,7 +61,7 @@ RUN set -ex \ # sfcgal ENV SFCGAL_VERSION master #current: -#ENV SFCGAL_GIT_HASH 815d5097f684dbc48b22041bf2047beab36df0a1 +#ENV SFCGAL_GIT_HASH b1646552e77acccce74b26686a2e048a74caacb7 #reverted for the last working version ENV SFCGAL_GIT_HASH e1f5cd801f8796ddb442c06c11ce8c30a7eed2c5 @@ -81,7 +81,7 @@ RUN set -ex \ # proj ENV PROJ_VERSION master -ENV PROJ_GIT_HASH ef5c77acb2a6286f856b9ad6940f78013f6b3c54 +ENV PROJ_GIT_HASH ac113a8898cded7f5359f1edd3abc17a78eee9b4 RUN set -ex \ && cd /usr/src \ @@ -97,7 +97,7 @@ RUN set -ex \ # geos ENV GEOS_VERSION master -ENV GEOS_GIT_HASH 79f75266db60f5c69f5ae48ebc8680b2b26c9f01 +ENV GEOS_GIT_HASH 55b6cc0a6dc95194bb6eb9a1370e84a126f4ab56 RUN set -ex \ && cd /usr/src \ @@ -114,7 +114,7 @@ RUN set -ex \ # gdal ENV GDAL_VERSION master -ENV GDAL_GIT_HASH e9fd8ce797a07df68a12298b9fd3db9ff959932d +ENV GDAL_GIT_HASH b1915c5658c57054292f8979ae0ab52be79bee79 RUN set -ex \ && cd /usr/src \ @@ -171,10 +171,10 @@ RUN set -ex \ COPY --from=builder /usr/local /usr/local -#ENV SFCGAL_GIT_HASH 815d5097f684dbc48b22041bf2047beab36df0a1 -ENV PROJ_GIT_HASH ef5c77acb2a6286f856b9ad6940f78013f6b3c54 -ENV GEOS_GIT_HASH 79f75266db60f5c69f5ae48ebc8680b2b26c9f01 -ENV GDAL_GIT_HASH e9fd8ce797a07df68a12298b9fd3db9ff959932d +#ENV SFCGAL_GIT_HASH b1646552e77acccce74b26686a2e048a74caacb7 +ENV PROJ_GIT_HASH ac113a8898cded7f5359f1edd3abc17a78eee9b4 +ENV GEOS_GIT_HASH 55b6cc0a6dc95194bb6eb9a1370e84a126f4ab56 +ENV GDAL_GIT_HASH b1915c5658c57054292f8979ae0ab52be79bee79 # Minimal command line test. RUN set -ex \ @@ -188,7 +188,7 @@ RUN set -ex \ # install postgis ENV POSTGIS_VERSION master -ENV POSTGIS_GIT_HASH 21c3f2351e2f8ab0ca3a95ad6fbba04378f4aece +ENV POSTGIS_GIT_HASH 530f7c88cbebf8357650ad7f337a46f61c0dd214 RUN set -ex \ && apt-get update \ diff --git a/14-3.1/Dockerfile b/14-3.1/Dockerfile index 186514420..a2dd16cd2 100644 --- a/14-3.1/Dockerfile +++ b/14-3.1/Dockerfile @@ -3,7 +3,7 @@ FROM postgres:14-bullseye LABEL maintainer="PostGIS Project - https://postgis.net" ENV POSTGIS_MAJOR 3 -ENV POSTGIS_VERSION 3.1.4+dfsg-1.pgdg110+1 +ENV POSTGIS_VERSION 3.1.4+dfsg-3.pgdg110+1 RUN apt-get update \ && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \ diff --git a/14-master/Dockerfile b/14-master/Dockerfile index 110b54ecf..7e21eaef5 100644 --- a/14-master/Dockerfile +++ b/14-master/Dockerfile @@ -61,7 +61,7 @@ RUN set -ex \ # sfcgal ENV SFCGAL_VERSION master #current: -#ENV SFCGAL_GIT_HASH 815d5097f684dbc48b22041bf2047beab36df0a1 +#ENV SFCGAL_GIT_HASH b1646552e77acccce74b26686a2e048a74caacb7 #reverted for the last working version ENV SFCGAL_GIT_HASH e1f5cd801f8796ddb442c06c11ce8c30a7eed2c5 @@ -81,7 +81,7 @@ RUN set -ex \ # proj ENV PROJ_VERSION master -ENV PROJ_GIT_HASH ef5c77acb2a6286f856b9ad6940f78013f6b3c54 +ENV PROJ_GIT_HASH ac113a8898cded7f5359f1edd3abc17a78eee9b4 RUN set -ex \ && cd /usr/src \ @@ -97,7 +97,7 @@ RUN set -ex \ # geos ENV GEOS_VERSION master -ENV GEOS_GIT_HASH 79f75266db60f5c69f5ae48ebc8680b2b26c9f01 +ENV GEOS_GIT_HASH 55b6cc0a6dc95194bb6eb9a1370e84a126f4ab56 RUN set -ex \ && cd /usr/src \ @@ -114,7 +114,7 @@ RUN set -ex \ # gdal ENV GDAL_VERSION master -ENV GDAL_GIT_HASH e9fd8ce797a07df68a12298b9fd3db9ff959932d +ENV GDAL_GIT_HASH b1915c5658c57054292f8979ae0ab52be79bee79 RUN set -ex \ && cd /usr/src \ @@ -171,10 +171,10 @@ RUN set -ex \ COPY --from=builder /usr/local /usr/local -#ENV SFCGAL_GIT_HASH 815d5097f684dbc48b22041bf2047beab36df0a1 -ENV PROJ_GIT_HASH ef5c77acb2a6286f856b9ad6940f78013f6b3c54 -ENV GEOS_GIT_HASH 79f75266db60f5c69f5ae48ebc8680b2b26c9f01 -ENV GDAL_GIT_HASH e9fd8ce797a07df68a12298b9fd3db9ff959932d +#ENV SFCGAL_GIT_HASH b1646552e77acccce74b26686a2e048a74caacb7 +ENV PROJ_GIT_HASH ac113a8898cded7f5359f1edd3abc17a78eee9b4 +ENV GEOS_GIT_HASH 55b6cc0a6dc95194bb6eb9a1370e84a126f4ab56 +ENV GDAL_GIT_HASH b1915c5658c57054292f8979ae0ab52be79bee79 # Minimal command line test. RUN set -ex \ @@ -188,7 +188,7 @@ RUN set -ex \ # install postgis ENV POSTGIS_VERSION master -ENV POSTGIS_GIT_HASH 21c3f2351e2f8ab0ca3a95ad6fbba04378f4aece +ENV POSTGIS_GIT_HASH 530f7c88cbebf8357650ad7f337a46f61c0dd214 RUN set -ex \ && apt-get update \ diff --git a/9.6-3.1/Dockerfile b/9.6-3.1/Dockerfile index 16daa0f23..c8fd1bc05 100644 --- a/9.6-3.1/Dockerfile +++ b/9.6-3.1/Dockerfile @@ -3,7 +3,7 @@ FROM postgres:9.6-bullseye LABEL maintainer="PostGIS Project - https://postgis.net" ENV POSTGIS_MAJOR 3 -ENV POSTGIS_VERSION 3.1.4+dfsg-1.pgdg110+1 +ENV POSTGIS_VERSION 3.1.4+dfsg-3.pgdg110+1 RUN apt-get update \ && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \ From 91d2362ab230bcfb6287e0f236ffb7020cda3554 Mon Sep 17 00:00:00 2001 From: ImreSamu Date: Fri, 12 Nov 2021 14:59:40 +0100 Subject: [PATCH 2/3] *-master: fix gdal dir, improve logging --- 13-master/Dockerfile | 23 ++++++++++++++++++----- 14-master/Dockerfile | 23 ++++++++++++++++++----- Dockerfile.master.template | 15 ++++++++++++++- 3 files changed, 50 insertions(+), 11 deletions(-) diff --git a/13-master/Dockerfile b/13-master/Dockerfile index 2e185da81..45ad22ce3 100644 --- a/13-master/Dockerfile +++ b/13-master/Dockerfile @@ -81,7 +81,7 @@ RUN set -ex \ # proj ENV PROJ_VERSION master -ENV PROJ_GIT_HASH ac113a8898cded7f5359f1edd3abc17a78eee9b4 +ENV PROJ_GIT_HASH ac882266b57d04720bb645b8144901127f7427cf RUN set -ex \ && cd /usr/src \ @@ -114,14 +114,22 @@ RUN set -ex \ # gdal ENV GDAL_VERSION master -ENV GDAL_GIT_HASH b1915c5658c57054292f8979ae0ab52be79bee79 +ENV GDAL_GIT_HASH ab147114c2f1387447c3efc1a7ac7dfc3d7bad9a RUN set -ex \ && cd /usr/src \ && git clone https://github.com/OSGeo/gdal.git \ && cd gdal \ && git checkout ${GDAL_GIT_HASH} \ - && cd gdal \ + \ + # gdal project directory structure - has been changed ! + && if [ -d "gdal" ] ; then \ + echo "Directory 'gdal' dir exists -> older version!" ; \ + cd gdal ; \ + else \ + echo "Directory 'gdal' does not exists! Newer version! " ; \ + fi \ + \ && ./autogen.sh \ && ./configure --disable-static \ && make -j$(nproc) \ @@ -172,9 +180,9 @@ RUN set -ex \ COPY --from=builder /usr/local /usr/local #ENV SFCGAL_GIT_HASH b1646552e77acccce74b26686a2e048a74caacb7 -ENV PROJ_GIT_HASH ac113a8898cded7f5359f1edd3abc17a78eee9b4 +ENV PROJ_GIT_HASH ac882266b57d04720bb645b8144901127f7427cf ENV GEOS_GIT_HASH 55b6cc0a6dc95194bb6eb9a1370e84a126f4ab56 -ENV GDAL_GIT_HASH b1915c5658c57054292f8979ae0ab52be79bee79 +ENV GDAL_GIT_HASH ab147114c2f1387447c3efc1a7ac7dfc3d7bad9a # Minimal command line test. RUN set -ex \ @@ -241,6 +249,10 @@ RUN set -ex \ && ldconfig \ && cd regress \ && make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \ + \ + && su postgres -c 'psql -c "CREATE EXTENSION IF NOT EXISTS postgis;"' \ + && su postgres -c 'psql -t -c "SELECT version();"' >> /_pgis_full_version.txt \ + && su postgres -c 'psql -t -c "SELECT PostGIS_Full_Version();"' >> /_pgis_full_version.txt \ && su postgres -c 'pg_ctl -D /tempdb --mode=immediate stop' \ && rm -rf /tempdb \ && rm -rf /tmp/pgis_reg \ @@ -280,4 +292,5 @@ RUN set -ex \ RUN mkdir -p /docker-entrypoint-initdb.d COPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/10_postgis.sh COPY ./update-postgis.sh /usr/local/bin +RUN cat /_pgis_full_version.txt diff --git a/14-master/Dockerfile b/14-master/Dockerfile index 7e21eaef5..f8066acaf 100644 --- a/14-master/Dockerfile +++ b/14-master/Dockerfile @@ -81,7 +81,7 @@ RUN set -ex \ # proj ENV PROJ_VERSION master -ENV PROJ_GIT_HASH ac113a8898cded7f5359f1edd3abc17a78eee9b4 +ENV PROJ_GIT_HASH ac882266b57d04720bb645b8144901127f7427cf RUN set -ex \ && cd /usr/src \ @@ -114,14 +114,22 @@ RUN set -ex \ # gdal ENV GDAL_VERSION master -ENV GDAL_GIT_HASH b1915c5658c57054292f8979ae0ab52be79bee79 +ENV GDAL_GIT_HASH ab147114c2f1387447c3efc1a7ac7dfc3d7bad9a RUN set -ex \ && cd /usr/src \ && git clone https://github.com/OSGeo/gdal.git \ && cd gdal \ && git checkout ${GDAL_GIT_HASH} \ - && cd gdal \ + \ + # gdal project directory structure - has been changed ! + && if [ -d "gdal" ] ; then \ + echo "Directory 'gdal' dir exists -> older version!" ; \ + cd gdal ; \ + else \ + echo "Directory 'gdal' does not exists! Newer version! " ; \ + fi \ + \ && ./autogen.sh \ && ./configure --disable-static \ && make -j$(nproc) \ @@ -172,9 +180,9 @@ RUN set -ex \ COPY --from=builder /usr/local /usr/local #ENV SFCGAL_GIT_HASH b1646552e77acccce74b26686a2e048a74caacb7 -ENV PROJ_GIT_HASH ac113a8898cded7f5359f1edd3abc17a78eee9b4 +ENV PROJ_GIT_HASH ac882266b57d04720bb645b8144901127f7427cf ENV GEOS_GIT_HASH 55b6cc0a6dc95194bb6eb9a1370e84a126f4ab56 -ENV GDAL_GIT_HASH b1915c5658c57054292f8979ae0ab52be79bee79 +ENV GDAL_GIT_HASH ab147114c2f1387447c3efc1a7ac7dfc3d7bad9a # Minimal command line test. RUN set -ex \ @@ -241,6 +249,10 @@ RUN set -ex \ && ldconfig \ && cd regress \ && make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \ + \ + && su postgres -c 'psql -c "CREATE EXTENSION IF NOT EXISTS postgis;"' \ + && su postgres -c 'psql -t -c "SELECT version();"' >> /_pgis_full_version.txt \ + && su postgres -c 'psql -t -c "SELECT PostGIS_Full_Version();"' >> /_pgis_full_version.txt \ && su postgres -c 'pg_ctl -D /tempdb --mode=immediate stop' \ && rm -rf /tempdb \ && rm -rf /tmp/pgis_reg \ @@ -280,4 +292,5 @@ RUN set -ex \ RUN mkdir -p /docker-entrypoint-initdb.d COPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/10_postgis.sh COPY ./update-postgis.sh /usr/local/bin +RUN cat /_pgis_full_version.txt diff --git a/Dockerfile.master.template b/Dockerfile.master.template index f58638a39..4e2a24516 100644 --- a/Dockerfile.master.template +++ b/Dockerfile.master.template @@ -121,7 +121,15 @@ RUN set -ex \ && git clone https://github.com/OSGeo/gdal.git \ && cd gdal \ && git checkout ${GDAL_GIT_HASH} \ - && cd gdal \ + \ + # gdal project directory structure - has been changed ! + && if [ -d "gdal" ] ; then \ + echo "Directory 'gdal' dir exists -> older version!" ; \ + cd gdal ; \ + else \ + echo "Directory 'gdal' does not exists! Newer version! " ; \ + fi \ + \ && ./autogen.sh \ && ./configure --disable-static \ && make -j$(nproc) \ @@ -241,6 +249,10 @@ RUN set -ex \ && ldconfig \ && cd regress \ && make -j$(nproc) check RUNTESTFLAGS=--extension PGUSER=postgres \ + \ + && su postgres -c 'psql -c "CREATE EXTENSION IF NOT EXISTS postgis;"' \ + && su postgres -c 'psql -t -c "SELECT version();"' >> /_pgis_full_version.txt \ + && su postgres -c 'psql -t -c "SELECT PostGIS_Full_Version();"' >> /_pgis_full_version.txt \ && su postgres -c 'pg_ctl -D /tempdb --mode=immediate stop' \ && rm -rf /tempdb \ && rm -rf /tmp/pgis_reg \ @@ -280,4 +292,5 @@ RUN set -ex \ RUN mkdir -p /docker-entrypoint-initdb.d COPY ./initdb-postgis.sh /docker-entrypoint-initdb.d/10_postgis.sh COPY ./update-postgis.sh /usr/local/bin +RUN cat /_pgis_full_version.txt From dc4955e1da91c4fac37b3fa00808e0cd7c94dba1 Mon Sep 17 00:00:00 2001 From: ImreSamu Date: Fri, 12 Nov 2021 16:00:05 +0100 Subject: [PATCH 3/3] update -master - postgis repo to github based; it is more stable --- 13-master/Dockerfile | 7 ++++--- 14-master/Dockerfile | 7 ++++--- Dockerfile.master.template | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/13-master/Dockerfile b/13-master/Dockerfile index 45ad22ce3..43a07dad2 100644 --- a/13-master/Dockerfile +++ b/13-master/Dockerfile @@ -97,7 +97,7 @@ RUN set -ex \ # geos ENV GEOS_VERSION master -ENV GEOS_GIT_HASH 55b6cc0a6dc95194bb6eb9a1370e84a126f4ab56 +ENV GEOS_GIT_HASH 83d16f913eac72cccbe07c18033d6c1056bfbcee RUN set -ex \ && cd /usr/src \ @@ -181,7 +181,7 @@ COPY --from=builder /usr/local /usr/local #ENV SFCGAL_GIT_HASH b1646552e77acccce74b26686a2e048a74caacb7 ENV PROJ_GIT_HASH ac882266b57d04720bb645b8144901127f7427cf -ENV GEOS_GIT_HASH 55b6cc0a6dc95194bb6eb9a1370e84a126f4ab56 +ENV GEOS_GIT_HASH 83d16f913eac72cccbe07c18033d6c1056bfbcee ENV GDAL_GIT_HASH ab147114c2f1387447c3efc1a7ac7dfc3d7bad9a # Minimal command line test. @@ -230,7 +230,7 @@ RUN set -ex \ && cd \ # postgis && cd /usr/src/ \ - && git clone https://git.osgeo.org/gitea/postgis/postgis.git \ + && git clone https://github.com/postgis/postgis.git \ && cd postgis \ && git checkout ${POSTGIS_GIT_HASH} \ && ./autogen.sh \ @@ -253,6 +253,7 @@ RUN set -ex \ && su postgres -c 'psql -c "CREATE EXTENSION IF NOT EXISTS postgis;"' \ && su postgres -c 'psql -t -c "SELECT version();"' >> /_pgis_full_version.txt \ && su postgres -c 'psql -t -c "SELECT PostGIS_Full_Version();"' >> /_pgis_full_version.txt \ + \ && su postgres -c 'pg_ctl -D /tempdb --mode=immediate stop' \ && rm -rf /tempdb \ && rm -rf /tmp/pgis_reg \ diff --git a/14-master/Dockerfile b/14-master/Dockerfile index f8066acaf..2064cdd84 100644 --- a/14-master/Dockerfile +++ b/14-master/Dockerfile @@ -97,7 +97,7 @@ RUN set -ex \ # geos ENV GEOS_VERSION master -ENV GEOS_GIT_HASH 55b6cc0a6dc95194bb6eb9a1370e84a126f4ab56 +ENV GEOS_GIT_HASH 83d16f913eac72cccbe07c18033d6c1056bfbcee RUN set -ex \ && cd /usr/src \ @@ -181,7 +181,7 @@ COPY --from=builder /usr/local /usr/local #ENV SFCGAL_GIT_HASH b1646552e77acccce74b26686a2e048a74caacb7 ENV PROJ_GIT_HASH ac882266b57d04720bb645b8144901127f7427cf -ENV GEOS_GIT_HASH 55b6cc0a6dc95194bb6eb9a1370e84a126f4ab56 +ENV GEOS_GIT_HASH 83d16f913eac72cccbe07c18033d6c1056bfbcee ENV GDAL_GIT_HASH ab147114c2f1387447c3efc1a7ac7dfc3d7bad9a # Minimal command line test. @@ -230,7 +230,7 @@ RUN set -ex \ && cd \ # postgis && cd /usr/src/ \ - && git clone https://git.osgeo.org/gitea/postgis/postgis.git \ + && git clone https://github.com/postgis/postgis.git \ && cd postgis \ && git checkout ${POSTGIS_GIT_HASH} \ && ./autogen.sh \ @@ -253,6 +253,7 @@ RUN set -ex \ && su postgres -c 'psql -c "CREATE EXTENSION IF NOT EXISTS postgis;"' \ && su postgres -c 'psql -t -c "SELECT version();"' >> /_pgis_full_version.txt \ && su postgres -c 'psql -t -c "SELECT PostGIS_Full_Version();"' >> /_pgis_full_version.txt \ + \ && su postgres -c 'pg_ctl -D /tempdb --mode=immediate stop' \ && rm -rf /tempdb \ && rm -rf /tmp/pgis_reg \ diff --git a/Dockerfile.master.template b/Dockerfile.master.template index 4e2a24516..0da180a18 100644 --- a/Dockerfile.master.template +++ b/Dockerfile.master.template @@ -230,7 +230,7 @@ RUN set -ex \ && cd \ # postgis && cd /usr/src/ \ - && git clone https://git.osgeo.org/gitea/postgis/postgis.git \ + && git clone https://github.com/postgis/postgis.git \ && cd postgis \ && git checkout ${POSTGIS_GIT_HASH} \ && ./autogen.sh \ @@ -253,6 +253,7 @@ RUN set -ex \ && su postgres -c 'psql -c "CREATE EXTENSION IF NOT EXISTS postgis;"' \ && su postgres -c 'psql -t -c "SELECT version();"' >> /_pgis_full_version.txt \ && su postgres -c 'psql -t -c "SELECT PostGIS_Full_Version();"' >> /_pgis_full_version.txt \ + \ && su postgres -c 'pg_ctl -D /tempdb --mode=immediate stop' \ && rm -rf /tempdb \ && rm -rf /tmp/pgis_reg \