This commit is contained in:
Ian Rodney 2020-06-17 09:32:55 -07:00 committed by GitHub
parent 2e972c2a77
commit 67c857a0d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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