mirror of
https://github.com/vale981/ray
synced 2025-03-09 12:56:46 -04:00

* python_test: fix cython_examples in doc/ and tests/ * update setup.py to parse the bazel version string better * all: centralize all python deps into stackable requirements files in python/ * format * Move cython test into the proper package * Add cross-reference dependency comments for requirements and setup.py * re-enable version pinning on CI, fix formatting * fix up torchvision version * fix case in shell
26 lines
1.1 KiB
Docker
26 lines
1.1 KiB
Docker
# The stress_test Docker image build a self-contained Ray instance for launching Ray.
|
|
|
|
FROM ray-project/base-deps
|
|
|
|
RUN pip install -U pip
|
|
|
|
# We install this after the latest wheels -- this should not override the latest wheels.
|
|
# Needed to run Tune example with a 'plot' call - which does not actually render a plot, but throws an error.
|
|
RUN pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
|
RUN pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.1.0-cp36-cp36m-manylinux2010_x86_64.whl
|
|
|
|
COPY ../../python/requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
COPY ../../python/requirements_tune.txt .
|
|
RUN pip install -r requirements_tune.txt
|
|
|
|
# We port the source code in so that we run the most up-to-date stress tests.
|
|
ADD ray.tar /ray
|
|
ADD git-rev /ray/git-rev
|
|
|
|
RUN bash /ray/ci/travis/install-bazel.sh --system
|
|
RUN echo 'build --remote_cache="https://storage.googleapis.com/ray-bazel-cache"' >> $HOME/.bazelrc
|
|
RUN echo 'build --remote_upload_local_results=false' >> $HOME/.bazelrc
|
|
RUN cd /ray/python; pip install -e . --verbose
|
|
|
|
WORKDIR /ray
|