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

Commit

Permalink
daemon-base: install python3-scikit-learn on el8
Browse files Browse the repository at this point in the history
* add copr repo for python3-scikit-learn packages
* install python3-scikit-learn package

the mgr failure prediction module needs this, and there is no package
packaged for CentOS8 or EPEL8.

Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1844636

Signed-off-by: Kefu Chai <[email protected]>
(cherry picked from commit 9a3e9fd)
  • Loading branch information
tchaikov authored and dsavineau committed Mar 12, 2021
1 parent ddd9d3a commit 37cf816
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ceph-releases/ALL/centos/daemon-base/__DOCKERFILE_INSTALL__
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ bash -c ' \
RELEASE_VER=1 ;\
REPO_URL="http://download.ceph.com/rpm-${CEPH_VERSION}/el__ENV_[BASEOS_TAG]__/"; \
fi && \
rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el__ENV_[BASEOS_TAG]__.noarch.rpm" ' && \
rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${RELEASE_VER}.el__ENV_[BASEOS_TAG]__.noarch.rpm" && \
if [[ __ENV_[BASEOS_TAG]__ -eq 8 ]]; then \
yum install -y dnf-plugins-core ; \
yum copr enable -y tchaikov/python-scikit-learn ; \
yum install -y python3-scikit-learn ; \
fi ' && \
yum install -y __GPERFTOOLS_LIBS__ && \
yum install -y __CEPH_BASE_PACKAGES__

0 comments on commit 37cf816

Please sign in to comment.