Robert Kaussow
29594f5419
All checks were successful
continuous-integration/drone/push Build is passing
48 lines
956 B
Docker
48 lines
956 B
Docker
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"
|
|
|
|
ENV RPMBUILD_BASE_DIR=/drone/src
|
|
|
|
RUN yum install -q -y \
|
|
dash \
|
|
gcc gcc-c++ \
|
|
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 \
|
|
yum-utils rpm-build rpmdevtools \
|
|
epel-release && \
|
|
rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \
|
|
yum clean all
|
|
|
|
ADD overlay/ /
|
|
|
|
USER root
|
|
|
|
WORKDIR ${RPMBUILD_BASE_DIR}
|
|
CMD []
|