instead of installing docker for using promtools, install
golang-github-prometheus.
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
e33e3a931db97d01318643ec686fe63fdd614082)
Conflicts:
ceph.spec.in (#287-295 new changes overrid these lines, merged correctly now)
install-deps.sh (changed dnf to yumdnf)
%else
BuildRequires: python%{_python_buildid}-pyOpenSSL
%endif
+BuildRequires: golang-github-prometheus
BuildRequires: libtool-ltdl-devel
BuildRequires: python%{_python_buildid}-cherrypy
BuildRequires: python%{_python_buildid}-jwt
BuildRequires: xmlsec1-openssl-devel
%endif
%if 0%{?suse_version}
+BuildRequires: golang-github-prometheus-prometheus
BuildRequires: libxmlsec1-1
BuildRequires: libxmlsec1-nss1
BuildRequires: libxmlsec1-openssl1
case "$ID" in
fedora)
$SUDO $yumdnf install -y $yumdnf-utils
- $SUDO $yumdnf install -y docker-ce docker-ce-cli containerd.io
- $SUDO systemctl start docker
- $SUDO systemctl enable docker
;;
centos|rhel|ol|virtuozzo)
MAJOR_VERSION="$(echo $VERSION_ID | cut -d. -f1)"