mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 19:00:36 +08:00
[docker] Update base image (#9281)
This commit is contained in:
@@ -4,11 +4,7 @@ ARG WHEEL_NAME
|
||||
|
||||
# Install kubectl.
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y curl \
|
||||
tmux \
|
||||
screen \
|
||||
rsync \
|
||||
apt-transport-https \
|
||||
&& apt-get install -y apt-transport-https \
|
||||
&& curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \
|
||||
&& touch /etc/apt/sources.list.d/kubernetes.list \
|
||||
&& echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# The base-deps Docker image installs main libraries needed to run Ray
|
||||
|
||||
FROM ubuntu:xenial
|
||||
FROM ubuntu:bionic
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y \
|
||||
git \
|
||||
@@ -12,6 +12,9 @@ RUN apt-get update \
|
||||
libgtk2.0-dev \
|
||||
zlib1g-dev \
|
||||
libgl1-mesa-dev \
|
||||
tmux \
|
||||
screen \
|
||||
rsync \
|
||||
&& apt-get clean \
|
||||
&& echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh \
|
||||
&& wget \
|
||||
@@ -31,3 +34,7 @@ RUN apt-get update \
|
||||
&& /opt/conda/bin/pip uninstall -y dask
|
||||
|
||||
ENV PATH "/opt/conda/bin:$PATH"
|
||||
|
||||
# OLD IS
|
||||
# ray-project/base-deps latest 50a2d9de82fa 30 seconds ago 961MB
|
||||
# ray-project/base-deps latest 5c46dd1acbdf 50 seconds ago 1.03GB
|
||||
Reference in New Issue
Block a user