FROM centos:8 ENV SUMMARY="CentOS 8 builder" \ DESCRIPTION="CentOS 8 image for test builds and rpm package builds." LABEL maintainer="Gerd Hoffmann " \ summary="${SUMMARY}" \ description="${DESCRIPTION}" USER root RUN dnf update -y && \ dnf install -y \ 'dnf-command(builddep)' \ 'dnf-command(config-manager)' \ https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \ && \ dnf config-manager --set-enabled PowerTools && \ dnf install -y \ fedora-packager tito \ autoconf automake libtool \ make cmake meson ninja-build \ gcc gcc-c++ binutils \ glibc-devel openssl-devel \ bc flex bison \ && \ dnf clean all -y