From 1ab0231da421d485dab5bb0c926c06474bbe6734 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 6 Sep 2024 15:00:10 -0500 Subject: [PATCH] raft-ann-bench images: update conda sooner (#710) Nightly builds of `rapidsai/raft-ann-bench` failed like this: > ImportError: /lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /opt/conda/lib/python3.11/site-packages/libmambapy/bindings.cpython-311-aarch64-linux-gnu.so) ([build link](https://github.com/rapidsai/docker/actions/runs/10739898324/job/29789780257)) I suspect that's because those images use the same pattern for initializing a conda environment that led to the issues described in https://github.com/rapidsai/ci-imgs/issues/185. This proposes the same fix that we applied in `ci-imgs` (https://github.com/rapidsai/ci-imgs/pull/186). Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Mike Sarahan (https://github.com/msarahan) URL: https://github.com/rapidsai/docker/pull/710 --- raft-ann-bench/cpu/Dockerfile | 7 ++++--- raft-ann-bench/gpu/Dockerfile | 2 -- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/raft-ann-bench/cpu/Dockerfile b/raft-ann-bench/cpu/Dockerfile index 1910ede7..7aff0d4c 100644 --- a/raft-ann-bench/cpu/Dockerfile +++ b/raft-ann-bench/cpu/Dockerfile @@ -23,10 +23,11 @@ EOF # we need perl temporarily for the remaining benchmark perl scripts RUN apt-get install perl -y -# Install python before updating environment, otherwise Python 3 image -# runs into a solver conflict with truststore 0.8.0. This avoids the environment installing -# packages incompatible with python version needed before python itself is pinned to the correct version. +# update everything before other environment changes, to ensure mixing +# an older conda with newer packages still works well +# ref: https://github.com/rapidsai/ci-imgs/issues/185 RUN <