From 20e136ee538491dad08aa0250eadeb43645c9551 Mon Sep 17 00:00:00 2001 From: bqbn Date: Mon, 22 Aug 2016 12:23:17 -0700 Subject: [PATCH] Dockerfile.deploy adds EPEL repo (#3309) This repo is needed in order to install uwsgi. --- Dockerfile.deploy | 3 ++- docker/epel.gpg.key | 29 +++++++++++++++++++++++++++++ docker/epel.repo | 26 ++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 docker/epel.gpg.key create mode 100644 docker/epel.repo diff --git a/Dockerfile.deploy b/Dockerfile.deploy index c1b4b51275..5ae8b03c6a 100644 --- a/Dockerfile.deploy +++ b/Dockerfile.deploy @@ -15,7 +15,8 @@ RUN useradd -u ${OLYMPIA_UID} -s /sbin/nologin olympia RUN usermod -a -G uwsgi olympia ADD docker/nodesource.gpg.key /etc/pki/rpm-gpg/RPM-GPG-KEY-nodesource -ADD docker/nodesource.repo /etc/yum.repos.d/nodesource.repo +ADD docker/epel.gpg.key /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 +ADD docker/nodesource.repo docker/epel.repo /etc/yum.repos.d/ RUN yum update -y \ && yum install -y \ diff --git a/docker/epel.gpg.key b/docker/epel.gpg.key new file mode 100644 index 0000000000..f205ede463 --- /dev/null +++ b/docker/epel.gpg.key @@ -0,0 +1,29 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.11 (GNU/Linux) + +mQINBFKuaIQBEAC1UphXwMqCAarPUH/ZsOFslabeTVO2pDk5YnO96f+rgZB7xArB +OSeQk7B90iqSJ85/c72OAn4OXYvT63gfCeXpJs5M7emXkPsNQWWSju99lW+AqSNm +jYWhmRlLRGl0OO7gIwj776dIXvcMNFlzSPj00N2xAqjMbjlnV2n2abAE5gq6VpqP +vFXVyfrVa/ualogDVmf6h2t4Rdpifq8qTHsHFU3xpCz+T6/dGWKGQ42ZQfTaLnDM +jToAsmY0AyevkIbX6iZVtzGvanYpPcWW4X0RDPcpqfFNZk643xI4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vus1OSOx3xZHZpXFfmQTsDP7zVROLzV98R3JwFAxJ4/xqeON4 +vCPFU6OsT3lWQ8w7il5ohY95wmujfr6lk89kEzJdOTzcn7DBbUru33CQMGKZ3Evt +RjsC7FDbL017qxS+ZVA/HGkyfiu4cpgV8VUnbql5eAZ+1Ll6Dw== +=hdPa +-----END PGP PUBLIC KEY BLOCK----- diff --git a/docker/epel.repo b/docker/epel.repo new file mode 100644 index 0000000000..c3a643e245 --- /dev/null +++ b/docker/epel.repo @@ -0,0 +1,26 @@ +[epel] +name=Extra Packages for Enterprise Linux 7 - $basearch +#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch +failovermethod=priority +enabled=1 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 + +[epel-debuginfo] +name=Extra Packages for Enterprise Linux 7 - $basearch - Debug +#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch +failovermethod=priority +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 +gpgcheck=1 + +[epel-source] +name=Extra Packages for Enterprise Linux 7 - $basearch - Source +#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch +failovermethod=priority +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 +gpgcheck=1