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 <haochuan.z.chen@intel.com>
This commit is contained in:
Chen, Haochuan Z 2021-03-26 09:09:41 +08:00
parent 09b3542fcc
commit 88a678f142
1 changed files with 11 additions and 3 deletions

View File

@ -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"]