]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
monitoring/grafana/build/Makefile: use curl instead of wget
authorDan Mick <dmick@redhat.com>
Wed, 28 Apr 2021 23:34:00 +0000 (16:34 -0700)
committerDeepika Upadhyay <dupadhya@redhat.com>
Wed, 7 Jul 2021 10:30:15 +0000 (16:00 +0530)
build machines tend to already have curl installed

Signed-off-by: Dan Mick <dmick@redhat.com>
(cherry picked from commit 0fdbe673c851e04773694a9a7d86258127eed8c3)

monitoring/grafana/build/Makefile

index 191729d8a6cffea9bccd49934d8a2be4957c01f4..748db6be724634151c660503542e9bd70e5503ca 100755 (executable)
@@ -21,7 +21,7 @@ build :
        echo "Creating base container"
        $(eval CONTAINER := $(shell sudo buildah from ${IMAGE}))
        # Using upstream grafana build
-       wget https://dl.grafana.com/oss/release/grafana-${GRAFANA_VERSION}.${ARCH}.rpm
+       curl -fLO https://dl.grafana.com/oss/release/grafana-${GRAFANA_VERSION}.${ARCH}.rpm
        sudo buildah copy $(CONTAINER) grafana-${GRAFANA_VERSION}.${ARCH}.rpm /tmp/grafana-${GRAFANA_VERSION}.${ARCH}.rpm
        sudo buildah run $(CONTAINER) ${PKGMGR} install -y --setopt install_weak_deps=false --setopt=tsflags=nodocs /tmp/grafana-${GRAFANA_VERSION}.${ARCH}.rpm
        sudo buildah run $(CONTAINER) ${PKGMGR} clean all