summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-02-03 23:36:35 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-02-03 23:36:35 +0100
commit79a50f429ba82aa904863f36435c3687e0df4ba7 (patch)
tree25683dd06728961c67b3c2932ebd1ebbdcd28c76
parentd17111b382616c038d5ee30d658b237ca0f80a09 (diff)
downloaddocker-79a50f429ba82aa904863f36435c3687e0df4ba7.tar.gz
Import the GPG keys deployed before we get errors about them
-rw-r--r--99-ci-maipo/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/99-ci-maipo/Dockerfile b/99-ci-maipo/Dockerfile
index af82ad6..a1f5830 100644
--- a/99-ci-maipo/Dockerfile
+++ b/99-ci-maipo/Dockerfile
@@ -1,6 +1,8 @@
FROM centos:centos7
MAINTAINER Kolab Systems <vanmeeuwen@kolabsys.com>
+RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
+
ADD http://obs.kolabsys.com/repositories/Kolab:/Winterfell/CentOS_7/Kolab:Winterfell.repo \
/etc/yum.repos.d/Kolab:Winterfell.repo
@@ -42,6 +44,7 @@ ADD /vimrc /root/.vimrc
RUN yum clean all && \
yum -y install epel-release && \
+ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 && \
sed -i \
-e 's/#baseurl/baseurl/g' \
-e '/^mirrorlist/d' \