add rpmdevtools and import epel gpg key

This commit is contained in:
Robert Kaussow 2020-06-11 15:40:44 +02:00
parent 1799acdb8d
commit dd97991b93
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -6,6 +6,8 @@ LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
org.label-schema.vendor="Robert Kaussow" \ org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0" org.label-schema.schema-version="1.0"
ADD overlay/ /
RUN yum install -q -y \ RUN yum install -q -y \
gcc gcc-c++ \ gcc gcc-c++ \
libtool libtool-ltdl \ libtool libtool-ltdl \
@ -31,10 +33,10 @@ RUN yum install -q -y \
pkgconfig \ pkgconfig \
wget curl \ wget curl \
automake autoconf \ automake autoconf \
yum-utils rpm-build \ yum-utils rpm-build rpmdevtools \
epel-release && \ epel-release && \
yum clean all && \ rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \
echo '%_topdir /drone/src' > /root/.rpmmacros yum clean all
USER root USER root