@@ -137,6 +137,33 @@ RUN \
137137 && rm -rf zstd*
138138
139139
140+ RUN \
141+ git clone https://github.com/TileDB-Inc/TileDB.git \
142+ && cd TileDB \
143+ && git checkout 2.1.3 \
144+ && mkdir _build \
145+ && cd _build \
146+ && DESTDIR=/ cmake \
147+ -G "Unix Makefiles" \
148+ -DCMAKE_INSTALL_PREFIX=/usr/ \
149+ -DCMAKE_BUILD_TYPE="Release" \
150+ -DBUILD_TESTING=OFF \
151+ -DTILEDB_WERROR=OFF \
152+ -DTILEDB_TESTS=OFF \
153+ -DTILEDB_INSTALL_LIBDIR=lib \
154+ -DTILEDB_HDFS=ON \
155+ -DSANITIZER="OFF;-DCOMPILER_SUPPORTS_AVX2:BOOL=FALSE" \
156+ -DTILEDB_S3=ON \
157+ -DTILEDB_SERIALIZATION=ON \
158+ -DTILEDB_LOG_OUTPUT_ON_FAILURE=ON \
159+ -DTILEDB_AZURE=ON \
160+ .. \
161+ && DESTDIR=/ make -j ${PARALLEL} \
162+ && make -C tiledb install \
163+ && make -C tiledb install DESTDIR=/ \
164+ && cd /var/task \
165+ && rm -rf TileDB* *.gz
166+
140167RUN git clone --branch release/ https://github.com/OSGeo/gdal.git --branch v${GDAL_VERSION} \
141168 && cd gdal/gdal \
142169 && ./configure --prefix=/usr \
@@ -151,6 +178,7 @@ RUN git clone --branch release/ https://github.com/OSGeo/gdal.git --branch v${GD
151178 --with-libtiff=/usr/ \
152179 --with-geos=/usr/bin/geos-config \
153180 --with-geotiff=/usr \
181+ --with-tiledb=/usr \
154182 --with-proj=/usr \
155183 --with-ogdi=no \
156184 --with-curl \
@@ -248,11 +276,12 @@ RUN wget https://github.com/xianyi/OpenBLAS/archive/v0.3.10.tar.gz \
248276
249277# scikit-build will respect our DESTDIR and put things in the wrong directory
250278RUN DESTDIR= python -m pip install PDAL --prefix /build/python \
251- && python -m pip install pandas scipy scikit-learn --no-binary :all: --verbose --prefix /build/python \
252- && cd /var/task \
253- && rm -rf pdal-python
279+ && python -m pip install pandas scipy scikit-learn --no-binary :all: --verbose --prefix /build/python
280+
281+ RUN ldconfig
282+ RUN python -m pip install Shapely Fiona --no-binary :all: --prefix /build/python
254283
255- RUN DESTDIR= python -m pip install pytz --target /build/python/lib/python3.7/site-packages/
284+ RUN python -m pip install pytz --target /build/python/lib/python3.7/site-packages/
256285
257286RUN rm /build/usr/lib/*.la ; rm /build/usr/lib/*.a
258287RUN rm /build/usr/lib64/*.a
0 commit comments