mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
Quick fix (#8985)
This commit is contained in:
parent
2e972c2a77
commit
67c857a0d3
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue