From 0e5fae9dcde56b6fd35090efe54e5cbd58b1d557 Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Mon, 20 May 2024 14:54:09 -0400 Subject: [PATCH] Update pip devcontainer to provide faiss dependencies --- .devcontainer/Dockerfile | 7 +++++++ .devcontainer/cuda12.2-pip/devcontainer.json | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 9d35e3f97f..594ba8c3c4 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -5,6 +5,13 @@ ARG PYTHON_PACKAGE_MANAGER=conda FROM ${BASE} as pip-base +RUN apt update -y \ + && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \ + # faiss dependencies + libblas-dev \ + liblapack-dev \ + && rm -rf /tmp/* /var/tmp/* /var/cache/apt/* /var/lib/apt/lists/*; + ENV DEFAULT_VIRTUAL_ENV=rapids FROM ${BASE} as conda-base diff --git a/.devcontainer/cuda12.2-pip/devcontainer.json b/.devcontainer/cuda12.2-pip/devcontainer.json index 3b22da3f0e..cd287569d8 100644 --- a/.devcontainer/cuda12.2-pip/devcontainer.json +++ b/.devcontainer/cuda12.2-pip/devcontainer.json @@ -25,8 +25,7 @@ "installcuRAND": true, "installcuSPARSE": true }, - "ghcr.io/rapidsai/devcontainers/features/rapids-build-utils:24.6": {}, - "ghcr.io/rapidsai/devcontainers/features/oneapi:24.6.0": {} + "ghcr.io/rapidsai/devcontainers/features/rapids-build-utils:24.6": {} }, "overrideFeatureInstallOrder": [ "ghcr.io/rapidsai/devcontainers/features/ucx",