mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 19:00:36 +08:00
Quick fix (#8985)
This commit is contained in:
@@ -6,8 +6,8 @@ ADD ray.tar /ray
|
||||
ADD git-rev /ray/git-rev
|
||||
RUN cd /ray && git init && ./ci/travis/install-bazel.sh
|
||||
ENV PATH=$PATH:/root/bin
|
||||
RUN echo 'build --remote_cache="https://storage.googleapis.com/ray-bazel-cache"' >> $HOME/.bashrc
|
||||
RUN echo 'build --remote_upload_local_results=false' >> $HOME/.bashrc
|
||||
RUN echo 'build --remote_cache="https://storage.googleapis.com/ray-bazel-cache"' >> $HOME/.bazelrc
|
||||
RUN echo 'build --remote_upload_local_results=false' >> $HOME/.bazelrc
|
||||
WORKDIR /ray/
|
||||
# The result of bazel build is reused in pip install. It if run first to allow
|
||||
# for failover to serial build if parallel build requires too much resources.
|
||||
|
||||
@@ -17,8 +17,8 @@ ADD ray.tar /ray
|
||||
ADD git-rev /ray/git-rev
|
||||
|
||||
RUN bash /ray/ci/travis/install-bazel.sh
|
||||
RUN echo 'build --remote_cache="https://storage.googleapis.com/ray-bazel-cache"' >> $HOME/.bashrc
|
||||
RUN echo 'build --remote_upload_local_results=false' >> $HOME/.bashrc
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user