Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
fix find
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Nov 28, 2023
1 parent ee28f9e commit dc6dcb6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dc6dcb6

Please sign in to comment.