# Expected build arguments: # RELEASE: centos release # ARG RELEASE=7.5.1804 FROM centos:${RELEASE} RUN set -ex ;\ sed -i '/\[main\]/ atimeout=120' /etc/yum.conf ;\ yum install -y centos-release-openstack-rocky ;\ rm -rf \ /var/log/* \ /tmp/* \ /var/tmp/*