mirror of
https://github.com/wassname/ray.git
synced 2026-08-18 12:20:14 +08:00
[docker] Build docker in Travis PR & Fix image build failing (#9787)
Co-authored-by: Ian Rodney <ian.rodney@gmail.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# The base-deps Docker image installs main libraries needed to run Ray
|
||||
|
||||
FROM ubuntu:focal
|
||||
ENV TZ=America/Los_Angeles
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update -y && apt-get upgrade -y \
|
||||
&& apt-get install -y \
|
||||
git \
|
||||
@@ -9,13 +11,11 @@ RUN apt-get update -y && apt-get upgrade -y \
|
||||
build-essential \
|
||||
curl \
|
||||
unzip \
|
||||
libgtk2.0-dev \
|
||||
zlib1g-dev \
|
||||
libgl1-mesa-dev \
|
||||
tmux \
|
||||
screen \
|
||||
rsync \
|
||||
openssh-client \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& apt-get clean \
|
||||
&& wget \
|
||||
--quiet "https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh" \
|
||||
@@ -35,4 +35,5 @@ RUN apt-get update -y && apt-get upgrade -y \
|
||||
# AttributeError: 'numpy.ufunc' object has no attribute '__module__'
|
||||
&& $HOME/anaconda3/bin/pip uninstall -y dask
|
||||
|
||||
ENV PATH "$HOME/anaconda3/bin:$PATH"
|
||||
# TODO(ilr) $HOME seems to point to result in "" instead of "/root"
|
||||
ENV PATH "/root/anaconda3/bin:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user