FROM almalinux:8.9 MAINTAINER support@brightbox.co.uk RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc" RUN dnf -y install dnf-plugins-core #RUN dnf config-manager --add-repo https://repo.almalinux.org/almalinux/8/devel/almalinux-devel.repo #RUN echo "8-stream" > /etc/dnf/vars/stream #RUN dnf -y update #RUN dnf config-manager --set-enabled powertools,devel RUN dnf config-manager --set-enabled powertools RUN dnf -y group install "Development Tools" RUN dnf -y install https://www.rdoproject.org/repos/rdo-release.el8.rpm RUN dnf -y install \ git \ lz4 \ qemu-img \ ruby-devel \ rubygems \ rubygem-bundler \ python3-swiftclient \ ceph-common RUN mkdir -p /etc/ceph ARG RBD_USR=libvirt ARG RBD_PSW ARG CEPH_MON RUN echo -e "[client.$RBD_USR]\nkey = $RBD_PSW\n" > /etc/ceph/ceph.client.$RBD_USR.keyring RUN echo -e "[global]\nmon_host = $CEPH_MON\n" > /etc/ceph/ceph.conf