Robert Kaussow
35a21e8ec2
Some checks reported errors
continuous-integration/drone/push Build was killed
Co-authored-by: Robert Kaussow <xoxys@rknet.org> Co-committed-by: Robert Kaussow <xoxys@rknet.org>
54 lines
1.2 KiB
Docker
54 lines
1.2 KiB
Docker
FROM centos:7
|
|
|
|
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
|
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
|
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 \
|
|
automake autoconf \
|
|
rpm-build rpmdevtools && \
|
|
yum clean all
|
|
|
|
ADD overlay/ /
|
|
|
|
USER root
|
|
|
|
WORKDIR ${RPMBUILD_BASE_DIR}
|
|
CMD []
|