fix package installation
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
Robert Kaussow 2021-10-23 16:11:44 +02:00
parent 23c2d73c5c
commit acc5e1f73c
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 14 additions and 9 deletions

View File

@ -9,6 +9,10 @@ LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/rpm
ENV RPMBUILD_BASE_DIR=/drone/src 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 && \
RUN yum install -q -y \ RUN yum install -q -y \
dash \ dash \
ca-certificates \ ca-certificates \
@ -38,9 +42,7 @@ RUN yum install -q -y \
pkgconfig \ pkgconfig \
wget curl \ wget curl \
automake autoconf \ automake autoconf \
yum-utils rpm-build rpmdevtools \ rpm-build rpmdevtools \
epel-release && \
rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \
yum clean all yum clean all
ADD overlay/ / ADD overlay/ /

View File

@ -9,7 +9,12 @@ LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/rpm
ENV RPMBUILD_BASE_DIR=/drone/src ENV RPMBUILD_BASE_DIR=/drone/src
RUN yum install -q -y \ RUN dnf install -q -y \
epel-release \
dnf-utils dnf-plugins-core && \
rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \
dnf config-manager --set-enabled powertools
RUN dnf install -q -y \
dash \ dash \
ca-certificates \ ca-certificates \
gcc gcc-c++ \ gcc gcc-c++ \
@ -30,7 +35,7 @@ RUN yum install -q -y \
gperf \ gperf \
nasm \ nasm \
perl \ perl \
python \ python3 \
yasm \ yasm \
which \ which \
libva-devel \ libva-devel \
@ -38,10 +43,8 @@ RUN yum install -q -y \
pkgconfig \ pkgconfig \
wget curl \ wget curl \
automake autoconf \ automake autoconf \
yum-utils rpm-build rpmdevtools \ rpm-build rpmdevtools \
epel-release && \ dnf clean all
rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8 && \
yum clean all
ADD overlay/ / ADD overlay/ /