This repository has been archived on 2023-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
rpmbuild/Dockerfile

45 lines
902 B
Docker
Raw Normal View History

2019-02-09 15:29:00 +01:00
FROM centos:7
2019-03-18 13:46:03 +01:00
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
2020-06-11 14:57:03 +02:00
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"
2019-03-18 13:46:03 +01:00
2020-06-11 16:01:45 +02:00
COPY overlay/ /
2020-06-11 14:57:03 +02:00
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 \
2020-06-11 16:01:45 +02:00
yum-utils rpm-build rpmdevtools \
2020-06-11 14:57:03 +02:00
epel-release && \
2020-06-11 16:01:45 +02:00
rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \
yum clean all
2019-02-09 15:29:00 +01:00
USER root
2020-06-11 14:57:03 +02:00
WORKDIR /drone/src
CMD []