From dc6dcb6ddea5fc4275cbb0763a426a1e07b03cf9 Mon Sep 17 00:00:00 2001 From: ayodeawe Date: Tue, 28 Nov 2023 11:50:15 -0600 Subject: [PATCH] fix find --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a66e2f9..f60141e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,10 @@ umask 002 # install expected Python version mamba install -y -n base python="${PYTHON_VERSION}" mamba update --all -y -n base +if [[ "$LINUX_VER" == "rockylinux"* ]]; then + yum update -y + yum install -y findutils +fi find /opt/conda -follow -type f -name '*.a' -delete find /opt/conda -follow -type f -name '*.pyc' -delete conda clean -afy @@ -57,8 +61,8 @@ case "${LINUX_VER}" in libnuma1 libnuma-dev rm -rf "/var/lib/apt/lists/*" ;; - "centos"* | "rockylinux"*) - yum -y update + "centos"* | "rockylinux"*) + yum update -y yum -y install --setopt=install_weak_deps=False \ numactl-devel numactl-libs yum clean all