@@ -82,7 +82,7 @@ RUN set -ex \
8282
8383# proj
8484ENV PROJ_VERSION master
85- ENV PROJ_GIT_HASH 68fa2def43265466d70b336a2f2be70f7e19a0de
85+ ENV PROJ_GIT_HASH 1384b90602a6d2d51ed5ca0d2e28c8b4ada47aea
8686
8787RUN set -ex \
8888 && cd /usr/src \
@@ -114,7 +114,7 @@ RUN set -ex \
114114
115115# geos
116116ENV GEOS_VERSION master
117- ENV GEOS_GIT_HASH fee735849e822b3b50564736546e5fe9470bbc5d
117+ ENV GEOS_GIT_HASH 848bce44d308a05d082766da21ea5d9db2e79b8e
118118
119119RUN set -ex \
120120 && cd /usr/src \
@@ -131,7 +131,7 @@ RUN set -ex \
131131
132132# gdal
133133ENV GDAL_VERSION master
134- ENV GDAL_GIT_HASH 76dfdcc0574a09fb7cb00e207b92be5177ee7c91
134+ ENV GDAL_GIT_HASH 581246a1ccaf62438e20be371f82453c19d54394
135135
136136RUN set -ex \
137137 && cd /usr/src \
@@ -147,8 +147,21 @@ RUN set -ex \
147147 echo "Directory 'gdal' does not exists! Newer version! " ; \
148148 fi \
149149 \
150- && ./autogen.sh \
151- && ./configure --disable-static \
150+ && if [ -f "./autogen.sh:" ]; then \
151+ # Building with autoconf ( old/deprecated )
152+ set -eux \
153+ && ./autogen.sh \
154+ && ./configure --disable-static \
155+ ; \
156+ else \
157+ # Building with cmake
158+ set -eux \
159+ && mkdir build \
160+ && cd build \
161+ && cmake -DCMAKE_BUILD_TYPE=Release .. \
162+ ; \
163+ fi \
164+ \
152165 && make -j$(nproc) \
153166 && make install \
154167 && cd / \
@@ -197,9 +210,9 @@ RUN set -ex \
197210COPY --from=builder /usr/local /usr/local
198211
199212# ENV SFCGAL_GIT_HASH 8675662a2725976642d0ecffd4efcfe68e484483
200- ENV PROJ_GIT_HASH 68fa2def43265466d70b336a2f2be70f7e19a0de
201- ENV GEOS_GIT_HASH fee735849e822b3b50564736546e5fe9470bbc5d
202- ENV GDAL_GIT_HASH 76dfdcc0574a09fb7cb00e207b92be5177ee7c91
213+ ENV PROJ_GIT_HASH 1384b90602a6d2d51ed5ca0d2e28c8b4ada47aea
214+ ENV GEOS_GIT_HASH 848bce44d308a05d082766da21ea5d9db2e79b8e
215+ ENV GDAL_GIT_HASH 581246a1ccaf62438e20be371f82453c19d54394
203216
204217# Minimal command line test.
205218RUN set -ex \
@@ -217,7 +230,7 @@ RUN ogr2ogr --formats | grep -q "PostgreSQL/PostGIS" && exit 0 \
217230
218231# install postgis
219232ENV POSTGIS_VERSION master
220- ENV POSTGIS_GIT_HASH f62924fafaa7b32cab0bf425837249bc123b10d0
233+ ENV POSTGIS_GIT_HASH 2fca9d65ced41fe2cbe36d0f9d05d109b39d70db
221234
222235RUN set -ex \
223236 && apt-get update \
0 commit comments