summaryrefslogtreecommitdiffstats
path: root/container/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to 'container/Containerfile')
-rw-r--r--container/Containerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/Containerfile b/container/Containerfile
index 7224028723d..af843052e60 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