Skip to content

Commit

Permalink
Merge branch 'main' into enh/_data_mgr
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Aug 18, 2024
2 parents afccf7c + bf9317e commit 60e1e00
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions python/xorbits/deploy/docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,24 @@ FROM ${BASE_CONTAINER} AS base

FROM base AS py3.9-base
SHELL ["/bin/bash", "-c"]
ARG PYTHON_VERSION=3.9
RUN if [ "$PYTHON_VERSION" == "3.9" ] ; then \
/opt/conda/bin/conda install --freeze-installed -c conda-forge python=3.9 "numpy>=1.14.0,<1.23.0" scipy\>=1.9.2 pandas\>=1.5.0 && \
/opt/conda/bin/conda install python=3.9 && \
/opt/conda/bin/conda install -c conda-forge -c rapidsai ucx-proc=*=cpu ucx ucx-py ; fi

FROM base AS py3.10-base
SHELL ["/bin/bash", "-c"]
ARG PYTHON_VERSION=3.9
RUN if [ "$PYTHON_VERSION" == "3.10" ] ; then \
/opt/conda/bin/conda install --freeze-installed -c conda-forge python=3.10 numpy\>=1.14.0 scipy\>=1.9.2 pandas\>=1.5.0 && \
/opt/conda/bin/conda install python=3.10 && \
/opt/conda/bin/conda install -c conda-forge -c rapidsai ucx-proc=*=cpu ucx ucx-py ; fi

FROM base AS py3.11-base
SHELL ["/bin/bash", "-c"]
ARG PYTHON_VERSION=3.9
RUN if [ "$PYTHON_VERSION" == "3.11" ] ; then \
/opt/conda/bin/conda install --freeze-installed -c conda-forge \
python=3.11 numpy\>=1.14.0 pandas\>=1.5.0 cython\>=0.29.33 scipy\>=1.9.2 \
mkl numexpr psutil scikit-learn sqlalchemy tornado lz4 ; fi
/opt/conda/bin/conda install python=3.11 && \
/opt/conda/bin/conda install -c conda-forge -c rapidsai ucx-proc=*=cpu ucx ucx-py ; fi

FROM py${PYTHON_VERSION}-base AS final
RUN /opt/conda/bin/conda install \
RUN /opt/conda/bin/conda install -c conda-forge --solver classic \
cython \
mkl \
numexpr\<2.8.5 \
Expand All @@ -34,7 +30,7 @@ RUN /opt/conda/bin/conda install \
sqlalchemy \
tornado \
lz4 \
&& /opt/conda/bin/conda install -c conda-forge \
&& /opt/conda/bin/conda install -c conda-forge --solver classic \
pyarrow\>=1.0 \
python-kubernetes \
jax \
Expand All @@ -43,6 +39,9 @@ RUN /opt/conda/bin/conda install \
libnuma \
&& pip install -U pip \
&& pip install -U \
"numpy>=1.14.0,<2.0" \
scipy\>=1.9.2 \
pandas\>=1.5.0 \
xoscar \
cloudpickle \
azure-storage-blob>=12.18.1 \
Expand Down

0 comments on commit 60e1e00

Please sign in to comment.