FROM centos:7@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4 LABEL maintainer="Robert Kaussow " LABEL org.opencontainers.image.authors="Robert Kaussow " LABEL org.opencontainers.image.title="rpmbuild" LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/rpmbuild" LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/rpmbuild" LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/rpmbuild" ENV RPMBUILD_BASE_DIR=/drone/src RUN yum install -q -y \ epel-release \ yum-utils && \ rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 RUN yum install -q -y \ dash \ ca-certificates \ gcc gcc-c++ \ gnutls \ gnutls-devel \ libtool libtool-ltdl \ 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 rsync\ automake autoconf \ rpm-build rpmdevtools && \ yum clean all ADD overlay/ / USER root WORKDIR ${RPMBUILD_BASE_DIR} CMD []