Merge "import the rpm gpg key"
This commit is contained in:
commit
e30fb74554
@ -46,6 +46,9 @@ COPY ceph.yum.repo /etc/yum.repos.d/ceph.repo
|
|||||||
|
|
||||||
RUN yum -y install http://repo.percona.com/release/7/RPMS/x86_64/percona-release-0.1-3.noarch.rpm
|
RUN yum -y install http://repo.percona.com/release/7/RPMS/x86_64/percona-release-0.1-3.noarch.rpm
|
||||||
|
|
||||||
|
RUN rpm --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB && \
|
||||||
|
rpm --import https://raw.githubusercontent.com/ceph/ceph/master/keys/release.asc
|
||||||
|
|
||||||
{% if install_metatype in ['rdo', 'mixed'] %}
|
{% if install_metatype in ['rdo', 'mixed'] %}
|
||||||
|
|
||||||
# These repos provide latest packages built from trunk master into RPMs
|
# These repos provide latest packages built from trunk master into RPMs
|
||||||
@ -66,6 +69,7 @@ RUN yum-config-manager --enable rhel-7-server-rpms \
|
|||||||
{% if base_distro == 'centos' %}
|
{% if base_distro == 'centos' %}
|
||||||
|
|
||||||
RUN yum install -y epel-release yum-plugin-priorities \
|
RUN yum install -y epel-release yum-plugin-priorities \
|
||||||
|
&& rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -77,6 +81,7 @@ RUN yum install -y epel-release yum-plugin-priorities \
|
|||||||
# Turn on EPEL throughout the build
|
# Turn on EPEL throughout the build
|
||||||
RUN yum install -y \
|
RUN yum install -y \
|
||||||
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
|
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
|
||||||
|
&& rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 \
|
||||||
&& yum -y install yum-plugin-priorities \
|
&& yum -y install yum-plugin-priorities \
|
||||||
&& yum clean all \
|
&& yum clean all \
|
||||||
&& yum-config-manager --enable rhel-7-server-optional-rpms \
|
&& yum-config-manager --enable rhel-7-server-optional-rpms \
|
||||||
@ -90,6 +95,7 @@ RUN yum install -y \
|
|||||||
RUN yum install -y \
|
RUN yum install -y \
|
||||||
yum-utils \
|
yum-utils \
|
||||||
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
|
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
|
||||||
|
&& rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
RUN yum-config-manager --enable ol7_optional_latest ol7_addons
|
RUN yum-config-manager --enable ol7_optional_latest ol7_addons
|
||||||
RUN yum install -y yum-plugin-priorities
|
RUN yum install -y yum-plugin-priorities
|
||||||
|
Loading…
Reference in New Issue
Block a user