1FROM fedora:latest 2MAINTAINER rpm-maint@lists.rpm.org 3 4WORKDIR /srv/popt 5 6RUN echo -e "deltarpm=0\ninstall_weak_deps=0\ntsflags=nodocs" >> /etc/dnf/dnf.conf 7RUN rm -f /etc/yum.repos.d/*modular.repo 8RUN dnf -y update 9RUN dnf -y install \ 10 autoconf \ 11 automake \ 12 libtool \ 13 gettext-devel \ 14 make \ 15 gcc \ 16 binutils \ 17 && dnf clean all 18 19COPY . . 20 21RUN autoreconf -vi 22RUN ./configure 23RUN make 24 25CMD make distcheck 26