Skip to content

Commit

Permalink
BLD: Restrict numpy version in docker for python 3.8 and 3.9 (xorbits…
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengjieLi28 committed May 18, 2023
1 parent 5c67e27 commit f5620b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/xorbits/deploy/docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ FROM ${BASE_CONTAINER} AS base
FROM base AS py3.8-base
SHELL ["/bin/bash", "-c"]
ARG PYTHON_VERSION=3.9
RUN if [ "$PYTHON_VERSION" == "3.8" ] ; then /opt/conda/bin/conda install -c conda-forge python=3.8 numpy\>=1.14.0 pandas\>=1.5.0 ; fi
RUN if [ "$PYTHON_VERSION" == "3.8" ] ; then /opt/conda/bin/conda install -c conda-forge python=3.8 "numpy>=1.14.0,<1.23.0" pandas\>=1.5.0 ; fi

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 -c conda-forge python=3.9 numpy\>=1.14.0 pandas\>=1.5.0 ; fi
RUN if [ "$PYTHON_VERSION" == "3.9" ] ; then /opt/conda/bin/conda install -c conda-forge python=3.9 "numpy>=1.14.0,<1.23.0" pandas\>=1.5.0 ; fi

FROM base AS py3.10-base
SHELL ["/bin/bash", "-c"]
Expand Down

0 comments on commit f5620b2

Please sign in to comment.