@@ -82,7 +82,7 @@ RUN set -ex \
82
82
83
83
# proj
84
84
ENV PROJ_VERSION master
85
- ENV PROJ_GIT_HASH 68fa2def43265466d70b336a2f2be70f7e19a0de
85
+ ENV PROJ_GIT_HASH 1384b90602a6d2d51ed5ca0d2e28c8b4ada47aea
86
86
87
87
RUN set -ex \
88
88
&& cd /usr/src \
@@ -114,7 +114,7 @@ RUN set -ex \
114
114
115
115
# geos
116
116
ENV GEOS_VERSION master
117
- ENV GEOS_GIT_HASH fee735849e822b3b50564736546e5fe9470bbc5d
117
+ ENV GEOS_GIT_HASH 848bce44d308a05d082766da21ea5d9db2e79b8e
118
118
119
119
RUN set -ex \
120
120
&& cd /usr/src \
@@ -131,7 +131,7 @@ RUN set -ex \
131
131
132
132
# gdal
133
133
ENV GDAL_VERSION master
134
- ENV GDAL_GIT_HASH 76dfdcc0574a09fb7cb00e207b92be5177ee7c91
134
+ ENV GDAL_GIT_HASH 581246a1ccaf62438e20be371f82453c19d54394
135
135
136
136
RUN set -ex \
137
137
&& cd /usr/src \
@@ -147,8 +147,21 @@ RUN set -ex \
147
147
echo "Directory 'gdal' does not exists! Newer version! " ; \
148
148
fi \
149
149
\
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
+ \
152
165
&& make -j$(nproc) \
153
166
&& make install \
154
167
&& cd / \
@@ -197,9 +210,9 @@ RUN set -ex \
197
210
COPY --from=builder /usr/local /usr/local
198
211
199
212
# 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
203
216
204
217
# Minimal command line test.
205
218
RUN set -ex \
@@ -217,7 +230,7 @@ RUN ogr2ogr --formats | grep -q "PostgreSQL/PostGIS" && exit 0 \
217
230
218
231
# install postgis
219
232
ENV POSTGIS_VERSION master
220
- ENV POSTGIS_GIT_HASH f62924fafaa7b32cab0bf425837249bc123b10d0
233
+ ENV POSTGIS_GIT_HASH 2fca9d65ced41fe2cbe36d0f9d05d109b39d70db
221
234
222
235
RUN set -ex \
223
236
&& apt-get update \
0 commit comments