mirror of https://github.com/ceph/go-ceph
testing: update container packages before installing new ones
On octopus taking in the -devel packages causes *some* of the packages to be updated but not all. This apparently makes ceph-fuse fail to start correctly by blocking forever. This works around that issue. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
d4440eb8c2
commit
5ee762c586
|
@ -4,6 +4,8 @@ FROM ceph/daemon-base:latest-${CEPH_VERSION:-nautilus}
|
|||
ENV CEPH_VERSION=${CEPH_VERSION:-nautilus}
|
||||
|
||||
RUN true && \
|
||||
yum clean all && \
|
||||
( if [ "${CEPH_VERSION}" = "octopus" ]; then dnf install -y --repo BaseOS 'dnf-command(config-manager)' && dnf config-manager --set-disabled epel && dnf update -y; fi ) && \
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue