From dd97991b93508a791af1cbbede02981218de963c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 11 Jun 2020 15:40:44 +0200 Subject: [PATCH] add rpmdevtools and import epel gpg key --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 89b6e60..7c2d9db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,8 @@ LABEL maintainer="Robert Kaussow " \ org.label-schema.vendor="Robert Kaussow" \ org.label-schema.schema-version="1.0" +ADD overlay/ / + RUN yum install -q -y \ gcc gcc-c++ \ libtool libtool-ltdl \ @@ -31,10 +33,10 @@ RUN yum install -q -y \ pkgconfig \ wget curl \ automake autoconf \ - yum-utils rpm-build \ + yum-utils rpm-build rpmdevtools \ epel-release && \ - yum clean all && \ - echo '%_topdir /drone/src' > /root/.rpmmacros + rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \ + yum clean all USER root