mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 17:31:37 +08:00
[Docker][minor] Update path in base-deps Dockerfile (#12391)
* Update path in base-deps Dockerfile * development Dockerfile
This commit is contained in:
@@ -6,8 +6,8 @@ FROM ${BASE_IMAGE}
|
||||
# If this arg is not "autoscaler" then no autoscaler requirements will be included
|
||||
ARG AUTOSCALER="autoscaler"
|
||||
ENV TZ=America/Los_Angeles
|
||||
# TODO(ilr) $HOME seems to point to result in "" instead of "/root"
|
||||
ENV PATH "/root/anaconda3/bin:$PATH"
|
||||
# TODO(ilr) $HOME seems to point to result in "" instead of "/home/ray"
|
||||
ENV PATH "/home/ray/anaconda3/bin:$PATH"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG PYTHON_VERSION=3.7.7
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ ADD git-rev /ray/git-rev
|
||||
# Install dependencies needed to build ray
|
||||
RUN apt-get update && apt-get install -y curl unzip cmake gcc && apt-get clean
|
||||
RUN cd /ray && git init && ./ci/travis/install-bazel.sh --system
|
||||
ENV PATH=$PATH:/root/bin
|
||||
ENV PATH=$PATH:/home/ray/bin
|
||||
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/
|
||||
|
||||
Reference in New Issue
Block a user