Skip to content

Commit

Permalink
[docker] Fix docker 'development' build failure (#13289)
Browse files Browse the repository at this point in the history
  • Loading branch information
ConeyLiu committed Feb 25, 2021
1 parent a2d2275 commit 34a9714
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/development/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ FROM rayproject/ray-deps:latest
ADD ray.tar /ray
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
RUN sudo apt-get update && sudo apt-get install -y curl unzip cmake gcc g++ && sudo apt-get clean
RUN sudo chown -R ray:users /ray && cd /ray && git init && ./ci/travis/install-bazel.sh --system
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
Expand Down
1 change: 1 addition & 0 deletions docker/ray-deps/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ENV LANG=C.UTF-8
COPY $WHEEL_PATH .
RUN $HOME/anaconda3/bin/pip --no-cache-dir install $(basename $WHEEL_PATH)[all] \
$(if [ "$AUTOSCALER" = "autoscaler" ]; then echo \
"six==1.13.0" \
"boto3==1.4.8" \
"google-api-python-client==1.7.8" \
"google-oauth" \
Expand Down

0 comments on commit 34a9714

Please sign in to comment.