Add DuckDB build to rocky9
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9a2b8b5db4
commit
659dd05269
1 file changed
+18
@@ -776,4 +776,22 @@ RUN curl --fail --location --output libproxyprotocol.tar.gz \
|
|||||||
&& cp src/src/proxy_protocol.h /usr/local/include/ \
|
&& cp src/src/proxy_protocol.h /usr/local/include/ \
|
||||||
&& rm -rf src
|
&& rm -rf src
|
||||||
|
|
||||||
|
RUN curl --fail --location --output duckdb.tar.gz \
|
||||||
|
https://wangguofang.net/github.com/duckdb/duckdb/archive/v1.5.6.tar.gz \
|
||||||
|
&& mkdir src \
|
||||||
|
&& tar --extract --gzip --file=duckdb.tar.gz --directory=src --strip-components=1 \
|
||||||
|
&& rm duckdb.tar.gz \
|
||||||
|
&& cmake -G Ninja -S src -B build -DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
|
-DBUILD_EXTENSIONS="core_functions;parquet;json" \
|
||||||
|
-DBUILD_SHELL=ON \
|
||||||
|
-DBUILD_UNITTESTS=OFF \
|
||||||
|
-DBUILD_BENCHMARKS=OFF \
|
||||||
|
-DENABLE_EXTENSION_AUTOLOADING=OFF \
|
||||||
|
-DENABLE_EXTENSION_AUTOINSTALL=OFF \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=lib64 \
|
||||||
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
||||||
|
&& cmake --build build --parallel "$(nproc)" --target install \
|
||||||
|
&& rm -rf build src
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
Reference in new issue
Block a user