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
|
|
|
|
|
|
|
FROM ubuntu:xenial
|
|
|
|
RUN apt-get update \
|
2018-03-07 12:16:08 -06:00
|
|
|
&& apt-get install -y \
|
|
|
|
git \
|
|
|
|
wget \
|
|
|
|
cmake \
|
|
|
|
pkg-config \
|
|
|
|
build-essential \
|
|
|
|
autoconf \
|
|
|
|
curl \
|
|
|
|
libtool \
|
|
|
|
unzip \
|
|
|
|
flex \
|
|
|
|
bison \
|
|
|
|
&& apt-get clean \
|
|
|
|
&& echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh \
|
|
|
|
&& wget \
|
2018-08-23 19:14:39 -07:00
|
|
|
--quiet 'https://repo.continuum.io/archive/Anaconda2-5.2.0-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 \
|
|
|
|
libgcc \
|
|
|
|
&& /opt/conda/bin/conda clean -y --all \
|
|
|
|
&& /opt/conda/bin/pip install \
|
2018-04-13 20:33:20 -07:00
|
|
|
flatbuffers \
|
2018-12-14 20:49:37 -08:00
|
|
|
cython==0.29.0
|
2018-03-07 12:16:08 -06:00
|
|
|
|
2016-12-31 17:21:33 -08:00
|
|
|
ENV PATH "/opt/conda/bin:$PATH"
|