diff --git a/Dockerfile_k8s b/Dockerfile_k8s index a5068cfcb8b..7b311dde13f 100644 --- a/Dockerfile_k8s +++ b/Dockerfile_k8s @@ -5,7 +5,7 @@ FROM continuumio/miniconda3:23.3.1-0 # Initialize conda for root user, install ssh and other local dependencies RUN apt update -y && \ - apt install gcc rsync sudo patch openssh-server pciutils nano fuse socat netcat -y && \ + apt install gcc rsync sudo patch openssh-server pciutils nano fuse socat netcat curl -y && \ rm -rf /var/lib/apt/lists/* && \ apt remove -y python3 && \ conda init @@ -31,7 +31,8 @@ RUN pip install wheel Click colorama cryptography jinja2 jsonschema && \ pip install ray[default]==2.9.3 rich tabulate filelock && \ pip install packaging 'protobuf<4.0.0' pulp && \ pip install pycryptodome==3.12.0 && \ - pip install docker kubernetes==28.1.0 + pip install docker kubernetes==28.1.0 && \ + pip install grpcio==1.51.3 python-dotenv==1.0.1 # Add /home/sky/.local/bin/ to PATH RUN echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.bashrc diff --git a/Dockerfile_k8s_gpu b/Dockerfile_k8s_gpu index cf121dcbbb6..f570181d8e7 100644 --- a/Dockerfile_k8s_gpu +++ b/Dockerfile_k8s_gpu @@ -7,7 +7,7 @@ FROM rayproject/ray:2.9.3-py310-gpu # We remove cuda lists to avoid conflicts with the cuda version installed by ray RUN sudo rm -rf /etc/apt/sources.list.d/cuda* && \ sudo apt update -y && \ - sudo apt install gcc rsync sudo patch openssh-server pciutils nano fuse unzip socat netcat -y && \ + sudo apt install gcc rsync sudo patch openssh-server pciutils nano fuse unzip socat netcat curl -y && \ sudo rm -rf /var/lib/apt/lists/* && \ sudo apt remove -y python3 && \ conda init @@ -39,7 +39,8 @@ RUN pip install wheel Click colorama cryptography jinja2 jsonschema && \ pip install rich tabulate filelock && \ pip install packaging 'protobuf<4.0.0' pulp && \ pip install pycryptodome==3.12.0 && \ - pip install docker kubernetes==28.1.0 + pip install docker kubernetes==28.1.0 && \ + pip install grpcio==1.51.3 python-dotenv==1.0.1 # Add /home/sky/.local/bin/ to PATH RUN echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.bashrc