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

48 lines
956 B
Docker
Raw Normal View History

2019-02-09 14:29:00 +00:00
FROM centos:7
2019-03-18 12:46:03 +00:00
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
2020-06-11 12:57:03 +00: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 12:46:03 +00:00
ENV RPMBUILD_BASE_DIR=/drone/src
2020-06-11 12:57:03 +00:00
RUN yum install -q -y \
2020-06-12 06:19:18 +00:00
dash \
2020-06-11 12:57:03 +00:00
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 14:01:45 +00:00
yum-utils rpm-build rpmdevtools \
2020-06-11 12:57:03 +00:00
epel-release && \
2020-06-11 14:01:45 +00:00
rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \
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 []