Skip to content

Commit a71c9a0

Browse files
authored
Postgis main branch removed; using github mirror; update (13|14)-master (#282)
* - Postgis "main" branch removed. https://lists.osgeo.org/pipermail/postgis-devel/2022-January/029336.html - Using github mirror insted of osgeo ( so now same as in the Dockerfile.master.template ) * make update
1 parent 67969eb commit a71c9a0

File tree

3 files changed

+27
-19
lines changed

3 files changed

+27
-19
lines changed

13-master/Dockerfile

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ RUN set -ex \
6262
# sfcgal
6363
ENV SFCGAL_VERSION master
6464
#current:
65-
#ENV SFCGAL_GIT_HASH 7d6bd802e7899a16b59277d6fb8204b55102c64d
65+
#ENV SFCGAL_GIT_HASH cf03cf7869778f69f8baddfbd73415bf99499663
6666
#reverted for the last working version
6767
ENV SFCGAL_GIT_HASH e1f5cd801f8796ddb442c06c11ce8c30a7eed2c5
6868

@@ -82,7 +82,7 @@ RUN set -ex \
8282

8383
# proj
8484
ENV PROJ_VERSION master
85-
ENV PROJ_GIT_HASH c6c2a3b22ddef30a29cfc48ca810ee1a54385242
85+
ENV PROJ_GIT_HASH 4ecb0abb8c3d3f5efcdd79643bc3302aa9bc6d1e
8686

8787
RUN set -ex \
8888
&& cd /usr/src \
@@ -98,7 +98,7 @@ RUN set -ex \
9898

9999
# geos
100100
ENV GEOS_VERSION master
101-
ENV GEOS_GIT_HASH e1d8471e2a9f579ebfbf6f49b3e37bd6eaad8565
101+
ENV GEOS_GIT_HASH 70d2111bd66ea848809e5738896256199d9a7cba
102102

103103
RUN set -ex \
104104
&& cd /usr/src \
@@ -115,7 +115,7 @@ RUN set -ex \
115115

116116
# gdal
117117
ENV GDAL_VERSION master
118-
ENV GDAL_GIT_HASH 2618ede82419c09a2fd313d9cccfaf9f9acf93bc
118+
ENV GDAL_GIT_HASH 642888ff9f9e1814f962d4cff5082257a47e84fd
119119

120120
RUN set -ex \
121121
&& cd /usr/src \
@@ -180,10 +180,10 @@ RUN set -ex \
180180

181181
COPY --from=builder /usr/local /usr/local
182182

183-
#ENV SFCGAL_GIT_HASH 7d6bd802e7899a16b59277d6fb8204b55102c64d
184-
ENV PROJ_GIT_HASH c6c2a3b22ddef30a29cfc48ca810ee1a54385242
185-
ENV GEOS_GIT_HASH e1d8471e2a9f579ebfbf6f49b3e37bd6eaad8565
186-
ENV GDAL_GIT_HASH 2618ede82419c09a2fd313d9cccfaf9f9acf93bc
183+
#ENV SFCGAL_GIT_HASH cf03cf7869778f69f8baddfbd73415bf99499663
184+
ENV PROJ_GIT_HASH 4ecb0abb8c3d3f5efcdd79643bc3302aa9bc6d1e
185+
ENV GEOS_GIT_HASH 70d2111bd66ea848809e5738896256199d9a7cba
186+
ENV GDAL_GIT_HASH 642888ff9f9e1814f962d4cff5082257a47e84fd
187187

188188
# Minimal command line test.
189189
RUN set -ex \
@@ -195,9 +195,13 @@ RUN set -ex \
195195
&& proj \
196196
&& sfcgal-config --version
197197

198+
# Testing ogr2ogr PostgreSQL driver.
199+
RUN ogr2ogr --formats | grep -q "PostgreSQL/PostGIS" && exit 0 \
200+
|| echo "ogr2ogr missing PostgreSQL driver" && exit 1
201+
198202
# install postgis
199203
ENV POSTGIS_VERSION master
200-
ENV POSTGIS_GIT_HASH b67f6c80f24edb57fa223a2065c2255bbb346cef
204+
ENV POSTGIS_GIT_HASH 4fa57df0b3bd726346e1fd272921a29ab888b55f
201205

202206
RUN set -ex \
203207
&& apt-get update \

14-master/Dockerfile

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ RUN set -ex \
6262
# sfcgal
6363
ENV SFCGAL_VERSION master
6464
#current:
65-
#ENV SFCGAL_GIT_HASH 7d6bd802e7899a16b59277d6fb8204b55102c64d
65+
#ENV SFCGAL_GIT_HASH cf03cf7869778f69f8baddfbd73415bf99499663
6666
#reverted for the last working version
6767
ENV SFCGAL_GIT_HASH e1f5cd801f8796ddb442c06c11ce8c30a7eed2c5
6868

@@ -82,7 +82,7 @@ RUN set -ex \
8282

8383
# proj
8484
ENV PROJ_VERSION master
85-
ENV PROJ_GIT_HASH c6c2a3b22ddef30a29cfc48ca810ee1a54385242
85+
ENV PROJ_GIT_HASH 4ecb0abb8c3d3f5efcdd79643bc3302aa9bc6d1e
8686

8787
RUN set -ex \
8888
&& cd /usr/src \
@@ -98,7 +98,7 @@ RUN set -ex \
9898

9999
# geos
100100
ENV GEOS_VERSION master
101-
ENV GEOS_GIT_HASH e1d8471e2a9f579ebfbf6f49b3e37bd6eaad8565
101+
ENV GEOS_GIT_HASH 70d2111bd66ea848809e5738896256199d9a7cba
102102

103103
RUN set -ex \
104104
&& cd /usr/src \
@@ -115,7 +115,7 @@ RUN set -ex \
115115

116116
# gdal
117117
ENV GDAL_VERSION master
118-
ENV GDAL_GIT_HASH 2618ede82419c09a2fd313d9cccfaf9f9acf93bc
118+
ENV GDAL_GIT_HASH 642888ff9f9e1814f962d4cff5082257a47e84fd
119119

120120
RUN set -ex \
121121
&& cd /usr/src \
@@ -180,10 +180,10 @@ RUN set -ex \
180180

181181
COPY --from=builder /usr/local /usr/local
182182

183-
#ENV SFCGAL_GIT_HASH 7d6bd802e7899a16b59277d6fb8204b55102c64d
184-
ENV PROJ_GIT_HASH c6c2a3b22ddef30a29cfc48ca810ee1a54385242
185-
ENV GEOS_GIT_HASH e1d8471e2a9f579ebfbf6f49b3e37bd6eaad8565
186-
ENV GDAL_GIT_HASH 2618ede82419c09a2fd313d9cccfaf9f9acf93bc
183+
#ENV SFCGAL_GIT_HASH cf03cf7869778f69f8baddfbd73415bf99499663
184+
ENV PROJ_GIT_HASH 4ecb0abb8c3d3f5efcdd79643bc3302aa9bc6d1e
185+
ENV GEOS_GIT_HASH 70d2111bd66ea848809e5738896256199d9a7cba
186+
ENV GDAL_GIT_HASH 642888ff9f9e1814f962d4cff5082257a47e84fd
187187

188188
# Minimal command line test.
189189
RUN set -ex \
@@ -195,9 +195,13 @@ RUN set -ex \
195195
&& proj \
196196
&& sfcgal-config --version
197197

198+
# Testing ogr2ogr PostgreSQL driver.
199+
RUN ogr2ogr --formats | grep -q "PostgreSQL/PostGIS" && exit 0 \
200+
|| echo "ogr2ogr missing PostgreSQL driver" && exit 1
201+
198202
# install postgis
199203
ENV POSTGIS_VERSION master
200-
ENV POSTGIS_GIT_HASH b67f6c80f24edb57fa223a2065c2255bbb346cef
204+
ENV POSTGIS_GIT_HASH 4fa57df0b3bd726346e1fd272921a29ab888b55f
201205

202206
RUN set -ex \
203207
&& apt-get update \

update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ sfcgalGitHash="$(git ls-remote https://gitlab.com/Oslandia/SFCGAL.git heads/mast
3636
projGitHash="$(git ls-remote https://github.com/OSGeo/PROJ.git heads/master | awk '{ print $1}')"
3737
gdalGitHash="$(git ls-remote https://github.com/OSGeo/gdal.git refs/heads/master | grep '\srefs/heads/master' | awk '{ print $1}')"
3838
geosGitHash="$(git ls-remote https://github.com/libgeos/geos.git heads/main | awk '{ print $1}')"
39-
postgisGitHash="$(git ls-remote https://git.osgeo.org/gitea/postgis/postgis.git heads/main | awk '{ print $1}')"
39+
postgisGitHash="$(git ls-remote https://github.com/postgis/postgis.git heads/master | awk '{ print $1}')"
4040

4141
declare -A suitePackageList=() suiteArches=()
4242
for version in "${versions[@]}"; do

0 commit comments

Comments
 (0)