diff options
| author | Jiri Stransky <jistr@redhat.com> | 2016-09-20 13:22:28 +0200 |
|---|---|---|
| committer | Jiri Stransky <jistr@redhat.com> | 2016-09-20 13:27:29 +0200 |
| commit | 20751763a211bd8246f7b3a41e4392220d10b9d1 (patch) | |
| tree | 43f256942035b737954f49ff382314e23e8b50b8 /docker/base | |
| parent | ebcd7b2979800fb9aed6c6b4d10007705c4d1918 (diff) | |
| download | kolla-20751763a211bd8246f7b3a41e4392220d10b9d1.tar.gz kolla-20751763a211bd8246f7b3a41e4392220d10b9d1.zip | |
Fix base CentOS repository keys
Fix typo in variable name ("yup" instead of "yum"), which means we now
import the repo keys we intended to. Furthermore we no longer try to
import EPEL key in that very spot, as it should be imported after
epel-release is installed, which already happens later during the base
image build.
CentOS/EPEL keys in the image before this patch:
()[root@6843e7e136cf ~]# rpm -q gpg-pubkey --qf '%{summary}\n' | grep -i -E '(centos)|(epel)'
gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>)
gpg(Fedora EPEL (7) <epel@fedoraproject.org>)
With this patch:
()[root@64a6ae7d0347 ~]# rpm -q gpg-pubkey --qf '%{summary}\n' | grep -i -E '(centos)|(epel)'
gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>)
gpg(CentOS Storage SIG (http://wiki.centos.org/SpecialInterestGroup/Storage) <security@centos.org>)
gpg(CentOS Virtualization SIG (http://wiki.centos.org/SpecialInterestGroup/Virtualization) <security@centos.org>)
gpg(Fedora EPEL (7) <epel@fedoraproject.org>)
Change-Id: I5cd22a887282e5de199a809b0798a439ce1a99e7
Closes-Bug: #1625585
Diffstat (limited to 'docker/base')
| -rw-r--r-- | docker/base/Dockerfile.j2 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index 4ad44b62b..252a14fa4 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -79,8 +79,7 @@ RUN yum-config-manager --enable rhel-7-server-rpms \ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 -{% set base_centos_yup_repo_keys = [ - '/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7', +{% set base_centos_yum_repo_keys = [ '/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage', '/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization' ] %} |
