From 46a97b80575824f501649cb3d2b887e6cbd0d91f Mon Sep 17 00:00:00 2001 From: Lonnie Liu <95255098+aslonnie@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:43:44 -0700 Subject: [PATCH] [image] remove ray-deps image (#47959) no longer being used after using wanda to build images. Signed-off-by: Lonnie Liu --- docker/ray-deps/Dockerfile | 25 ----------------------- docker/ray-deps/README.md | 42 -------------------------------------- 2 files changed, 67 deletions(-) delete mode 100644 docker/ray-deps/Dockerfile delete mode 100644 docker/ray-deps/README.md diff --git a/docker/ray-deps/Dockerfile b/docker/ray-deps/Dockerfile deleted file mode 100644 index 93a4c02383b8..000000000000 --- a/docker/ray-deps/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -ARG BASE_IMAGE="" -FROM rayproject/base-deps:nightly"$BASE_IMAGE" -# If this arg is not "autoscaler" then no autoscaler requirements will be included -ARG AUTOSCALER="autoscaler" -ARG WHEEL_PATH -ARG FIND_LINKS_PATH=".whl" -COPY $WHEEL_PATH . -COPY $FIND_LINKS_PATH $FIND_LINKS_PATH -RUN $HOME/anaconda3/bin/pip --no-cache-dir install --find-links $FIND_LINKS_PATH \ - $(basename $WHEEL_PATH)[all] \ - $(if [ "$AUTOSCALER" = "autoscaler" ]; then echo \ - "redis>=3.5.0,<4.0.0" \ - "six==1.13.0" \ - "boto3==1.26.76" \ - "pyOpenSSL==22.1.0" \ - "cryptography==38.0.1" \ - "google-api-python-client==1.7.8" \ - "google-oauth" \ - "azure-cli-core==2.40.0" \ - "azure-identity==1.10.0" \ - "azure-mgmt-compute==23.1.0" \ - "azure-mgmt-network==19.0.0" \ - "azure-mgmt-resource==20.0.0" \ - "msrestazure==0.6.4"; fi) \ - && $HOME/anaconda3/bin/pip uninstall ray -y && sudo rm $(basename $WHEEL_PATH) diff --git a/docker/ray-deps/README.md b/docker/ray-deps/README.md deleted file mode 100644 index 1bc3344fb74f..000000000000 --- a/docker/ray-deps/README.md +++ /dev/null @@ -1,42 +0,0 @@ -## About -This is an internal image, the [`rayproject/ray`](https://hub.docker.com/repository/docker/rayproject/ray) or [`rayproject/ray-ml`](https://hub.docker.com/repository/docker/rayproject/ray-ml) should be used! - -This has the python-level dependencies for `Ray` and the `Ray Autoscaler`. The `ray` image is built on top of this. This image is built periodically or when dependencies are added. [Find the Dockerfile here.](https://github.com/ray-project/ray/blob/master/docker/ray-deps/Dockerfile) - -## Tags - -Images are `tagged` with the format `{Ray version}[-{Python version}][-{Platform}][-{Architecture}]`. `Ray version` tag can be one of the following: - -| Ray version tag | Description | -| --------------- | ----------- | -| `latest` | The most recent Ray release. | -| `x.y.z` | A specific Ray release, e.g. 2.9.3 | -| `nightly` | The most recent Ray development build (a recent commit from GitHub `master`) | - -The optional `Python version` tag specifies the Python version in the image. All Python versions supported by Ray are available, e.g. `py39`, `py310` and `py311`. If unspecified, the tag points to an image using `Python 3.9`. - -The optional `Platform` tag specifies the platform where the image is intended for: - -| Platform tag | Description | -| --------------- | ----------- | -| `-cpu` | These are based off of an Ubuntu image. | -| `-cuXX` | These are based off of an NVIDIA CUDA image with the specified CUDA version `xx`. They require the Nvidia Docker Runtime. | -| `-gpu` | Aliases to a specific `-cuXX` tagged image. | -| no tag | Aliases to `-cpu` tagged images for `ray`, and aliases to ``-gpu`` tagged images for `ray-ml`. | - -The optional `Architecture` tag can be used to specify images for different CPU architectures. -Currently, we support the `x86_64` (`amd64`) and `aarch64` (`arm64`) architectures. - -Please note that suffixes are only used to specify `aarch64` images. No suffix means -`x86_64`/`amd64`-compatible images. - -| Platform tag | Description | -|--------------|-------------------------| -| `-aarch64` | arm64-compatible images | -| no tag | Defaults to `amd64` | - -## Other Images -* [`rayproject/ray`](https://hub.docker.com/repository/docker/rayproject/ray) - Ray and all of its dependencies. -* [`rayproject/ray-ml`](https://hub.docker.com/repository/docker/rayproject/ray-ml) - This image with common ML libraries to make development & deployment more smooth! -



-* [`rayproject/base-deps`](https://hub.docker.com/repository/docker/rayproject/base-deps) - Internal image with system-level dependencies.