From: Dan Mick Date: Fri, 3 Jan 2025 03:15:54 +0000 (-0800) Subject: container/Containerfile: replace CEPH_VERSION var for backward compat X-Git-Tag: v18.2.5~95^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c84afad8fb1a2383abc67fe10fa20f7a2d03a065;p=ceph.git container/Containerfile: replace CEPH_VERSION var for backward compat CEPH_VERSION used to be present in the env to hold the ref. Other projects relied on this. Make life easier for them. Signed-off-by: Dan Mick (cherry picked from commit 3075894aab604ffdfb81d3eb1af675cdbc6aa776) --- diff --git a/container/Containerfile b/container/Containerfile index c954ebed1be81..9a5a88e76a151 100644 --- a/container/Containerfile +++ b/container/Containerfile @@ -212,6 +212,7 @@ RUN rpm -q $(cat packages.txt) && rm -f /var/lib/rpm/__db* && rm -f *packages.tx # Set some envs in the container for quickly inspecting details about the build at runtime ENV CEPH_IS_DEVEL="${CI_CONTAINER}" \ CEPH_REF="${CEPH_REF}" \ + CEPH_VERSION="${CEPH_REF}" \ CEPH_OSD_FLAVOR="${OSD_FLAVOR}" \ FROM_IMAGE="${FROM_IMAGE}"