45 lines
902 B
Docker
45 lines
902 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"
|
|
|
|
COPY overlay/ /
|
|
|
|
RUN yum install -q -y \
|
|
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
|
|
|
|
USER root
|
|
|
|
WORKDIR /drone/src
|
|
CMD []
|