FROM fedora:24
MAINTAINER <NAME> <<EMAIL>>

RUN dnf install -y rpm-build rpmdevtools createrepo && dnf clean all

RUN rpmdev-setuptree

USER root
ADD entry.sh /root/
COPY ./ /root/rpmbuild/SPECS
CMD ["/root/entry.sh"]

