From 0bef0bda3edac39eca6aace1bec1ba331d191f20 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 31 Jul 2023 10:27:48 -0500 Subject: [PATCH] Remove Dockerfile. --- .github/CODEOWNERS | 4 +--- Dockerfile | 26 -------------------------- README.md | 7 +++---- docs/README.md | 29 +++-------------------------- 4 files changed, 7 insertions(+), 59 deletions(-) delete mode 100644 Dockerfile diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 839f2f903c..dcceca08d5 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -15,6 +15,4 @@ build.sh @rapidsai/cuml-cmake-codeowners .github/ @rapidsai/ops-codeowners ci/ @rapidsai/ops-codeowners conda/ @rapidsai/ops-codeowners -**/Dockerfile @rapidsai/ops-codeowners -**/.dockerignore @rapidsai/ops-codeowners -dependencies.yaml @rapidsai/ops-codeowners +dependencies.yaml @rapidsai/ops-codeowners diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 9e1330627b..0000000000 --- a/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -# From: https://github.com/rapidsai/cudf/blob/main/Dockerfile -FROM cudf - -ENV CONDA_ENV=cudf - -ADD . /cuml/ - -WORKDIR /cuml - -RUN conda env update --name ${CONDA_ENV} \ - --file /cuml/conda/environments/cuml_dev_cuda${CUDA_SHORT_VERSION}.yml - -# libcuml build/install -RUN source activate ${CONDA_ENV} && \ - cd cpp && \ - mkdir build && \ - cd build && \ - cmake .. -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} && \ - make -j && \ - make install - -# cuML build/install -RUN source activate ${CONDA_ENV} && \ - cd python && \ - python setup.py build_ext --inplace && \ - python setup.py install diff --git a/README.md b/README.md index 1923428502..2c9c7028be 100644 --- a/README.md +++ b/README.md @@ -120,10 +120,9 @@ repo](https://github.com/rapidsai/notebooks-contrib). ## Installation -See [the RAPIDS Release -Selector](https://rapids.ai/start.html#rapids-release-selector) for the command -line to install either nightly or official release cuML packages via Conda or -Docker. +See [the RAPIDS Release Selector](https://docs.rapids.ai/install#selector) for +the command line to install either nightly or official release cuML packages +via Conda or Docker. ## Build/Install from Source See the build [guide](BUILD.md). diff --git a/docs/README.md b/docs/README.md index fd7dfc18d9..935cf12ba1 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,34 +4,11 @@ #### [Build and install cuML](../BUILD.md) #### Generate the docs -```shell script +```bash bash build.sh cppdocs pydocs ``` #### Once the process finishes, documentation can be found in build/html -```shell script -xdg-open build/html/api.html` -``` - -## Building via Docker -Pull or create the cuML [docker container](https://hub.docker.com/r/rapidsai/rapidsai/). - -### Start cuML container: -``` -docker run -p 8000:8000 -it cuml bash -``` - -### Setup container's conda env for building docs: -``` -sudo sh setup.sh ${cuML-container-id} -``` - -### Build & host docs from container: -``` -sudo sh build.sh ${cuML-container-id} -``` - -### Copy docs from container to host: -``` -docker cp ${cuML-container-id}:/docs/build/html . +```bash +xdg-open build/html/api.html ```