2018-03-07 12:16:08 -06:00
|
|
|
# The base-deps Docker image installs main libraries needed to run Ray
|
2016-12-31 17:21:33 -08:00
|
|
|
|
2020-07-05 17:31:59 -07:00
|
|
|
FROM ubuntu:bionic
|
2016-12-31 17:21:33 -08:00
|
|
|
RUN apt-get update \
|
2018-03-07 12:16:08 -06:00
|
|
|
&& apt-get install -y \
|
|
|
|
git \
|
|
|
|
wget \
|
|
|
|
cmake \
|
|
|
|
build-essential \
|
|
|
|
curl \
|
|
|
|
unzip \
|
2020-04-09 10:27:19 -07:00
|
|
|
libgtk2.0-dev \
|
|
|
|
zlib1g-dev \
|
|
|
|
libgl1-mesa-dev \
|
2020-07-05 17:31:59 -07:00
|
|
|
tmux \
|
|
|
|
screen \
|
|
|
|
rsync \
|
2018-03-07 12:16:08 -06:00
|
|
|
&& apt-get clean \
|
|
|
|
&& echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh \
|
|
|
|
&& wget \
|
2020-04-09 10:27:19 -07:00
|
|
|
--quiet "https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh" \
|
2018-03-07 12:16:08 -06:00
|
|
|
-O /tmp/anaconda.sh \
|
2016-12-31 17:21:33 -08:00
|
|
|
&& /bin/bash /tmp/anaconda.sh -b -p /opt/conda \
|
2018-03-07 12:16:08 -06:00
|
|
|
&& rm /tmp/anaconda.sh \
|
|
|
|
&& /opt/conda/bin/conda install -y \
|
2020-04-09 10:27:19 -07:00
|
|
|
libgcc python=3.6.9 \
|
2018-03-07 12:16:08 -06:00
|
|
|
&& /opt/conda/bin/conda clean -y --all \
|
2020-06-02 02:26:08 +05:30
|
|
|
&& /opt/conda/bin/pip install --no-cache-dir \
|
2018-04-13 20:33:20 -07:00
|
|
|
flatbuffers \
|
2019-04-02 22:17:33 -07:00
|
|
|
cython==0.29.0 \
|
2020-06-02 02:26:08 +05:30
|
|
|
numpy==1.15.4 \
|
|
|
|
# To avoid the following error on Jenkins:
|
|
|
|
# AttributeError: 'numpy.ufunc' object has no attribute '__module__'
|
|
|
|
&& /opt/conda/bin/pip uninstall -y dask
|
2018-03-07 12:16:08 -06:00
|
|
|
|
2016-12-31 17:21:33 -08:00
|
|
|
ENV PATH "/opt/conda/bin:$PATH"
|
2020-07-05 17:31:59 -07:00
|
|
|
|
|
|
|
# OLD IS
|
|
|
|
# ray-project/base-deps latest 50a2d9de82fa 30 seconds ago 961MB
|
|
|
|
# ray-project/base-deps latest 5c46dd1acbdf 50 seconds ago 1.03GB
|