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.rh7

54 lines
1.2 KiB
Docker
Raw Normal View History

2019-02-09 14:29:00 +00:00
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"
2019-03-18 12:46:03 +00:00
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
2020-06-11 12:57:03 +00:00
RUN yum install -q -y \
2020-06-12 06:19:18 +00:00
dash \
2020-06-12 21:19:35 +00:00
ca-certificates \
2020-06-11 12:57:03 +00:00
gcc gcc-c++ \
2020-06-12 11:33:10 +00:00
gnutls \
gnutls-devel \
2020-06-11 12:57:03 +00: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 \
wget curl \
automake autoconf \
rpm-build rpmdevtools && \
yum clean all
2019-02-09 14:29:00 +00:00
2020-06-11 14:03:30 +00:00
ADD overlay/ /
2019-02-09 14:29:00 +00:00
USER root
2020-06-11 12:57:03 +00:00
WORKDIR ${RPMBUILD_BASE_DIR}
2020-06-11 12:57:03 +00:00
CMD []