containers: add castxml to container if it is available

Currently, this tool is only readily available on centos8 based
containers (octopus). But as it is being requested by binary name
it will be taken in if any repo used by the container makes it
available.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-05-27 16:27:41 -04:00 committed by John Mulligan
parent 792f8cf02b
commit 7bec335c31

View File

@ -5,6 +5,7 @@ ENV CEPH_VERSION=${CEPH_VERSION:-nautilus}
RUN true && \
yum install -y git wget curl libcephfs-devel librados-devel librbd-devel /usr/bin/cc /usr/bin/c++ make && \
(yum install -y /usr/bin/castxml || true) && \
true
ENV GOTAR=go1.12.17.linux-amd64.tar.gz