FROM centos:7 ENV SUMMARY="CentOS 7 builder" \ DESCRIPTION="CentOS 7 image for test builds and rpm package builds." LABEL maintainer="Gerd Hoffmann " \ summary="${SUMMARY}" \ description="${DESCRIPTION}" USER root COPY configure-mirror /usr/local/bin RUN /usr/local/bin/configure-mirror && \ yum update -y && \ yum install -y \ yum-utils \ https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \ && \ /usr/local/bin/configure-mirror && \ yum install -y \ fedora-packager tito \ autoconf automake libtool \ make cmake meson ninja-build \ gcc gcc-c++ binutils \ glibc-devel openssl-devel \ bc flex bison \ && \ yum clean all -y