FROM centos:7
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
org.label-schema.name="rpmbuild" \
org.label-schema.vcs-url="https://gitea.rknet.org/docker/rpmbuild" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
RUN yum-config-manager --add-repo http://www.nasm.us/nasm.repo && \
yum install -y \
gcc gcc-c++ \
libtool libtool-ltdl \
gnutls \
gnutls-devel \
pam-devel \
dbus-devel \
avahi-devel \
systemd-devel \
make cmake \
git \
bzip2 \
bzip2-devel \
freetype-devel \
fribidi-devel \
expat-devel \
gperf \
nasm \
perl \
python \
yasm \
which \
libva-devel \
zlib-devel \
pkgconfig \
wget curl \
automake autoconf \
yum-utils rpm-build && \
yum clean all
USER root
CMD /srv/pkg