From 88a678f142cfe86c58b6405aae6babbc08de0e8f Mon Sep 17 00:00:00 2001 From: "Chen, Haochuan Z" Date: Fri, 26 Mar 2021 09:09:41 +0800 Subject: [PATCH] Add packages to stx-ceph-manager image This update installs ceph-mgr, ceph-mon, ceph-osd packages as part of stx-ceph-manager image. Partial-Bug: 1920882 Change-Id: I4afde8b1476e14453fac8561f1edde7360b8ee96 Signed-off-by: Chen, Haochuan Z --- ceph/ceph-manager/centos/docker/Dockerfile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/ceph/ceph-manager/centos/docker/Dockerfile b/ceph/ceph-manager/centos/docker/Dockerfile index cdcbdaba..54c1ae9f 100644 --- a/ceph/ceph-manager/centos/docker/Dockerfile +++ b/ceph/ceph-manager/centos/docker/Dockerfile @@ -4,18 +4,26 @@ FROM ${BASE} ARG STX_REPO_FILE=/etc/yum.repos.d/stx.repo RUN set -ex ; \ + yum erase -y \ + librados2 librbd1 ; \ yum install --disablerepo=* \ - $(grep '^name=' ${STX_REPO_FILE} | awk -F '=' '{printf "--enablerepo=" $2 " "}') \ + $(grep '^name=stx' ${STX_REPO_FILE} | awk -F '=' '{printf "--enablerepo=" $2 " "}') \ -y \ + --setopt=skip_missing_names_on_install=False \ ceph-manager \ python-cephclient \ python-oslo-messaging \ python2-eventlet \ fm-api \ - fm-core \ fm-rest-api \ python-fmclient \ fm-common \ - ceph-common + librados2 \ + librbd1 \ + ceph-common \ + ceph-mon \ + ceph-osd \ + ceph-mgr + CMD ["bash"]