◐ Shell
reader mode source ↗
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
FROM registry.access.redhat.com/ubi9/python-311:1
ARG RELEASE

USER 0
RUN yum install -y ninja-build llvm-devel cmake llvm-toolset ncurses-devel rust cargo
RUN if [[ -z "$RELEASE" ]] ; then npm install -g yarn yalc && rm -rf .npm ; fi
USER 1001

# milvus dep
RUN pip install milvus-lite==2.4.12
Original file line number Diff line number Diff line change
@@ -1,4 +1,123 @@
FROM ibis-builder:latest

# This section only necessary when building from local feast source ... e.g. ".[minimal]"
########################
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
FROM yum-builder:latest

ENV OFFLINE_BUILD_DIR=offline_build
ENV ARROW_HOME=${APP_ROOT}/arrow-dist
ENV LD_LIBRARY_PATH=${ARROW_HOME}/lib:$LD_LIBRARY_PATH
ENV CMAKE_PREFIX_PATH=${ARROW_HOME}:$CMAKE_PREFIX_PATH
ENV THIRD_PARTY_PATH=/tmp/arrow/cpp/arrow-thirdparty

COPY --chown=default ${OFFLINE_BUILD_DIR}/arrow/cpp/cmake_modules ${APP_ROOT}/src/arrow/cpp/cmake_modules
COPY --chown=default ${OFFLINE_BUILD_DIR}/arrow/python ${APP_ROOT}/src/arrow/python

# configured for Arrow version 17.0.0
RUN mkdir ${ARROW_HOME} ${APP_ROOT}/src/arrow-build
RUN export \
# Environment variables for an offline Arrow build
ARROW_ABSL_URL="${THIRD_PARTY_PATH}/absl-20211102.0.tar.gz" \
ARROW_AWS_C_AUTH_URL="${THIRD_PARTY_PATH}/aws-c-auth-v0.6.22.tar.gz" \
Expand Up @@ -87,7 +86,7 @@ RUN export \
-DARROW_WITH_ZLIB=ON \
-DARROW_WITH_ZSTD=ON \
-DARROW_BUILD_SHARED=ON \
-S /tmp/arrow/cpp \
-B ${APP_ROOT}/src/arrow-build && \
\
cmake --build ${APP_ROOT}/src/arrow-build --target install && \
Expand All @@ -100,7 +99,7 @@ RUN export \
pip install dist/pyarrow-*.whl && \
\
cd ${APP_ROOT}/src && \
rm -rf ${APP_ROOT}/src/arrow-build ${APP_ROOT}/src/arrow ${APP_ROOT}/arrow-dist

RUN python -c "import pyarrow; print(pyarrow.__version__)"
RUN python -c "import pyarrow.lib as _lib; print(_lib.__name__)"
Expand All @@ -114,14 +113,13 @@ RUN python -c "import pyarrow.substrait as substrait; print(substrait.__name__)"
RUN source /tmp/hermeto.env && \
pip install "numpy>=1.16.6,<2"

COPY --chown=default ${OFFLINE_BUILD_DIR}/ibis ${APP_ROOT}/src/ibis
RUN cd ${APP_ROOT}/src/ibis && \
source /tmp/hermeto.env && \
pip install .[duckdb] && \
cd ${APP_ROOT}/src && \
rm -rf ${APP_ROOT}/src/ibis

COPY sdk/python/feast/infra/feature_servers/multicloud/requirements.txt requirements.txt
RUN source /tmp/hermeto.env && \
pip install -r requirements.txt

Expand Down
Loading
Toggle all file notes Toggle all file annotations