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

View File

@ -4,18 +4,26 @@ FROM ${BASE}
ARG STX_REPO_FILE=/etc/yum.repos.d/stx.repo ARG STX_REPO_FILE=/etc/yum.repos.d/stx.repo
RUN set -ex ; \ RUN set -ex ; \
yum erase -y \
librados2 librbd1 ; \
yum install --disablerepo=* \ 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 \ -y \
--setopt=skip_missing_names_on_install=False \
ceph-manager \ ceph-manager \
python-cephclient \ python-cephclient \
python-oslo-messaging \ python-oslo-messaging \
python2-eventlet \ python2-eventlet \
fm-api \ fm-api \
fm-core \
fm-rest-api \ fm-rest-api \
python-fmclient \ python-fmclient \
fm-common \ fm-common \
ceph-common librados2 \
librbd1 \
ceph-common \
ceph-mon \
ceph-osd \
ceph-mgr
CMD ["bash"] CMD ["bash"]