2022-12-09 21:04:37 +01:00
|
|
|
FROM centos:7@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4
|
2019-02-09 15:29:00 +01:00
|
|
|
|
2020-12-20 22:47:44 +01:00
|
|
|
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"
|
2019-03-18 13:46:03 +01:00
|
|
|
|
2020-06-12 08:50:48 +02:00
|
|
|
ENV RPMBUILD_BASE_DIR=/drone/src
|
|
|
|
|
2021-10-23 16:16:55 +02:00
|
|
|
RUN yum install -q -y \
|
|
|
|
epel-release \
|
|
|
|
yum-utils && \
|
|
|
|
rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
|
2020-06-11 14:57:03 +02:00
|
|
|
RUN yum install -q -y \
|
2020-06-12 08:19:18 +02:00
|
|
|
dash \
|
2020-06-12 23:19:35 +02:00
|
|
|
ca-certificates \
|
2020-06-11 14:57:03 +02:00
|
|
|
gcc gcc-c++ \
|
2020-06-12 13:33:10 +02:00
|
|
|
gnutls \
|
|
|
|
gnutls-devel \
|
2020-06-11 14:57:03 +02:00
|
|
|
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 \
|
2021-12-16 10:54:06 +01:00
|
|
|
wget curl rsync\
|
2020-06-11 14:57:03 +02:00
|
|
|
automake autoconf \
|
2021-10-23 16:16:55 +02:00
|
|
|
rpm-build rpmdevtools && \
|
2020-06-11 15:40:44 +02:00
|
|
|
yum clean all
|
2019-02-09 15:29:00 +01:00
|
|
|
|
2020-06-11 16:03:30 +02:00
|
|
|
ADD overlay/ /
|
|
|
|
|
2019-02-09 15:29:00 +01:00
|
|
|
USER root
|
2020-06-11 14:57:03 +02:00
|
|
|
|
2020-06-12 08:50:48 +02:00
|
|
|
WORKDIR ${RPMBUILD_BASE_DIR}
|
2020-06-11 14:57:03 +02:00
|
|
|
CMD []
|