mirror of https://github.com/ceph/go-ceph
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 <anoopcs@cryptolab.net>
This commit is contained in:
parent
eb651c28a4
commit
146ee24547
|
@ -5,10 +5,8 @@ FROM ${CEPH_IMG}:${CEPH_TAG}
|
||||||
# A CEPH_VERSION env var is already set in the base image.
|
# 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
|
# 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.
|
# the values agree to ensure we're building what we meant to build.
|
||||||
ARG CEPH_TAG
|
|
||||||
ARG GO_CEPH_VERSION
|
ARG GO_CEPH_VERSION
|
||||||
ENV GO_CEPH_VERSION=${GO_CEPH_VERSION:-$CEPH_VERSION} \
|
ENV GO_CEPH_VERSION=${GO_CEPH_VERSION:-$CEPH_VERSION}
|
||||||
CEPH_TAG=${CEPH_TAG}
|
|
||||||
|
|
||||||
RUN true && \
|
RUN true && \
|
||||||
echo "Check: [ ${CEPH_VERSION} = ${GO_CEPH_VERSION} ]" && \
|
echo "Check: [ ${CEPH_VERSION} = ${GO_CEPH_VERSION} ]" && \
|
||||||
|
|
Loading…
Reference in New Issue