From 146ee24547d419c8f40e3e48ba8f527846e16e65 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Mon, 27 Jun 2022 21:26:58 +0530 Subject: [PATCH] Dockerfile: Remove an unused CEPH_TAG env variable Ceph version is already available from CEPH_VERSION env variable. CEPH_TAG on the other hand is only defined to determine the tag for ceph base image and seems to be unused in the resulting go-ceph container image. Signed-off-by: Anoop C S --- testing/containers/ceph/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/testing/containers/ceph/Dockerfile b/testing/containers/ceph/Dockerfile index 22087eb..75eec74 100644 --- a/testing/containers/ceph/Dockerfile +++ b/testing/containers/ceph/Dockerfile @@ -5,10 +5,8 @@ FROM ${CEPH_IMG}:${CEPH_TAG} # A CEPH_VERSION env var is already set in the base image. # We save our build arg as GO_CEPH_VERSION and later ensure that # the values agree to ensure we're building what we meant to build. -ARG CEPH_TAG ARG GO_CEPH_VERSION -ENV GO_CEPH_VERSION=${GO_CEPH_VERSION:-$CEPH_VERSION} \ - CEPH_TAG=${CEPH_TAG} +ENV GO_CEPH_VERSION=${GO_CEPH_VERSION:-$CEPH_VERSION} RUN true && \ echo "Check: [ ${CEPH_VERSION} = ${GO_CEPH_VERSION} ]" && \