summaryrefslogtreecommitdiffstats
path: root/container
diff options
context:
space:
mode:
authorDan Mick <dan.mick@redhat.com>2024-11-20 01:44:17 +0100
committerDan Mick <dan.mick@redhat.com>2024-12-04 01:38:15 +0100
commitce74f14de5042774b8386b0eff04497b517eaacc (patch)
treeb771997e3611b70852bbf2c4a6a2f8f53f03e803 /container
parentcontainer/make-manifest-list.py: use LOCALMANIFEST throughout (diff)
downloadceph-ce74f14de5042774b8386b0eff04497b517eaacc.tar.xz
ceph-ce74f14de5042774b8386b0eff04497b517eaacc.zip
container/Containerfile fix boolean IS_RELEASE usage
Existing syntax was just wrong. Signed-off-by: Dan Mick <dan.mick@redhat.com>
Diffstat (limited to 'container')
-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