FROM centos:7
RUN yum install -y gcc gcc-c++ \
libtool libtool-ltdl \
gnutls-devel \
pam-devel \
dbus-devel \
avahi-devel \
systemd-devel \
make cmake \
git \
pkgconfig \
wget \
automake autoconf \
yum-utils rpm-build && \
yum clean all
USER root
ENV FLAVOR=rpmbuild OS=centos DIST=el7
CMD /srv/pkg