From: Dan Mick Date: Wed, 20 Nov 2024 00:44:17 +0000 (-0800) Subject: container/Containerfile fix boolean IS_RELEASE usage X-Git-Tag: v19.2.1~26^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d6d8faab5e865799eb293cc4d218131740e3ae40;p=ceph.git container/Containerfile fix boolean IS_RELEASE usage Existing syntax was just wrong. Signed-off-by: Dan Mick (cherry picked from commit ce74f14de5042774b8386b0eff04497b517eaacc) --- diff --git a/container/Containerfile b/container/Containerfile index 7224028723d99..af843052e60e4 100644 --- a/container/Containerfile +++ b/container/Containerfile @@ -89,7 +89,7 @@ RUN set -x && \ REPO_URL="https://${PRERELEASE_USERNAME}:${PRERELEASE_PASSWORD}@download.ceph.com/prerelease/ceph/rpm-${CEPH_REF}/el9/" ;\ fi && \ rpm -Uvh "$REPO_URL/noarch/ceph-release-1-${IS_RELEASE}.el9.noarch.rpm" ; \ - if [[ IS_RELEASE ]] ; then \ + if [[ "$IS_RELEASE" == 1 ]] ; then \ sed -i "s;http://download.ceph.com/;https://${PRERELEASE_USERNAME}:${PRERELEASE_PASSWORD}@download.ceph.com/prerelease/ceph/;" /etc/yum.repos.d/ceph.repo ; \ dnf clean expire-cache ; \ fi