Merge branch 'main' of https://mezgit.duckdns.org/mezned/HAddons
This commit is contained in:
commit
392bb4e338
@ -22,6 +22,7 @@ RUN apk add --no-cache \
|
|||||||
g++ \
|
g++ \
|
||||||
make \
|
make \
|
||||||
cmake \
|
cmake \
|
||||||
|
ninja \
|
||||||
musl-dev \
|
musl-dev \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
python3 \
|
python3 \
|
||||||
@ -47,7 +48,34 @@ RUN apk add --no-cache \
|
|||||||
lz4-dev \
|
lz4-dev \
|
||||||
zstd-dev \
|
zstd-dev \
|
||||||
curl-dev \
|
curl-dev \
|
||||||
re2-dev
|
boost-dev
|
||||||
|
|
||||||
|
# Clone the Apache Arrow source code
|
||||||
|
RUN git clone https://github.com/apache/arrow.git /arrow
|
||||||
|
|
||||||
|
# Build and install Apache Arrow
|
||||||
|
WORKDIR /arrow/cpp
|
||||||
|
RUN mkdir -p build && cd build && \
|
||||||
|
cmake -GNinja \
|
||||||
|
-DARROW_PARQUET=ON \
|
||||||
|
-DARROW_PYTHON=ON \
|
||||||
|
-DARROW_DATASET=ON \
|
||||||
|
-DARROW_FILESYSTEM=ON \
|
||||||
|
-DARROW_CSV=ON \
|
||||||
|
-DARROW_WITH_SNAPPY=ON \
|
||||||
|
-DARROW_WITH_LZ4=ON \
|
||||||
|
-DARROW_WITH_ZSTD=ON \
|
||||||
|
-DARROW_JSON=ON \
|
||||||
|
-DARROW_WITH_BZ2=ON \
|
||||||
|
-DARROW_BUILD_STATIC=ON \
|
||||||
|
-DARROW_BUILD_SHARED=ON \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr/local .. && \
|
||||||
|
ninja && \
|
||||||
|
ninja install
|
||||||
|
|
||||||
|
# Cleanup Arrow source to reduce image size
|
||||||
|
RUN rm -rf /arrow
|
||||||
|
|
||||||
# Upgrade pip to the latest version
|
# Upgrade pip to the latest version
|
||||||
RUN pip install --upgrade pip setuptools wheel setuptools_scm cython
|
RUN pip install --upgrade pip setuptools wheel setuptools_scm cython
|
||||||
|
Loading…
x
Reference in New Issue
Block a user