2019-03-02 19:21:08 -08:00
|
|
|
# The stress_test Docker image build a self-contained Ray instance for launching Ray.
|
|
|
|
|
|
|
|
FROM ray-project/base-deps
|
|
|
|
|
|
|
|
# We install ray and boto3 to enable the ray autoscaler as
|
|
|
|
# a test runner.
|
2019-07-10 01:58:26 -07:00
|
|
|
RUN conda install -y numpy
|
2019-09-27 09:59:08 -07:00
|
|
|
RUN pip install -U pip
|
2019-10-15 10:49:50 -07:00
|
|
|
RUN pip install -U https://ray-wheels.s3-us-west-2.amazonaws.com/latest/ray-0.8.0.dev6-cp36-cp36m-manylinux1_x86_64.whl || pip install -U https://ray-wheels.s3-us-west-2.amazonaws.com/latest/ray-0.8.0.dev5-cp36-cp36m-manylinux1_x86_64.whl
|
|
|
|
RUN pip install -U boto3
|
2019-03-02 19:21:08 -08:00
|
|
|
# We install this after the latest wheels -- this should not override the latest wheels.
|
|
|
|
RUN apt-get install -y zlib1g-dev
|
2019-06-21 11:04:40 -07:00
|
|
|
# The following is needed to support TensorFlow 1.14
|
|
|
|
RUN conda remove -y --force wrapt
|
2019-09-27 09:59:08 -07:00
|
|
|
RUN pip install gym[atari]==0.10.11 opencv-python-headless tensorflow lz4 keras pytest-timeout smart_open torch torchvision
|
2019-03-02 19:21:08 -08:00
|
|
|
RUN pip install --upgrade bayesian-optimization
|
2019-10-18 13:50:42 -07:00
|
|
|
RUN pip install --upgrade hyperopt==0.1.2
|
2019-09-30 16:39:00 -07:00
|
|
|
RUN pip install ConfigSpace==0.4.10
|
|
|
|
RUN pip install --upgrade sigopt nevergrad scikit-optimize hpbandster lightgbm xgboost
|
2019-08-14 15:58:18 -07:00
|
|
|
RUN pip install -U mlflow
|
2019-06-24 21:50:37 -07:00
|
|
|
RUN pip install -U pytest-remotedata>=0.3.1
|
2019-03-02 19:21:08 -08:00
|
|
|
|
|
|
|
# RUN mkdir -p /root/.ssh/
|
|
|
|
|
|
|
|
# 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
|
2019-06-24 21:50:37 -07:00
|
|
|
RUN python /ray/python/ray/setup-dev.py --yes
|
2019-03-02 19:21:08 -08:00
|
|
|
|
|
|
|
WORKDIR /ray
|