* Revert "Remove old node 4 repo"

This reverts commit 7d221f0814.

* Add back nodesource v6 repo

We need to use nodesource v6 repo for latest security fixes. EPEL updates
are often delayed.
This commit is contained in:
bqbn 2017-07-28 13:51:18 -07:00 коммит произвёл GitHub
Родитель 76dfea3efa
Коммит 8826016c01
4 изменённых файлов: 41 добавлений и 0 удалений

Просмотреть файл

@ -4,11 +4,14 @@ FROM centos:centos7
RUN touch /addons-server-centos7-container
ADD docker/mysql-community.gpg.key /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
ADD docker/nodesource.gpg.key /etc/pki/rpm-gpg/RPM-GPG-KEY-nodesource
ADD docker/git.gpg.key /etc/pki/rpm-gpg/RPM-GPG-KEY-git
# For mysql-python dependencies
ADD docker/mysql.repo /etc/yum.repos.d/mysql.repo
ADD docker/nodesource.repo /etc/yum.repos.d/nodesource.repo
# For git dependencies
ADD docker/git.repo /etc/yum.repos.d/git.repo

Просмотреть файл

@ -10,9 +10,11 @@ RUN useradd -u ${OLYMPIA_UID} -s /sbin/nologin olympia
ADD docker/git.gpg.key /etc/pki/rpm-gpg/RPM-GPG-KEY-git
ADD docker/epel.gpg.key /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
ADD docker/nodesource.gpg.key /etc/pki/rpm-gpg/RPM-GPG-KEY-nodesource
ADD docker/epel.repo /etc/yum.repos.d/
ADD docker/git.repo /etc/yum.repos.d/git.repo
ADD docker/nodesource.repo /etc/yum.repos.d/nodesource.repo
RUN yum install -y \
gcc-c++ \

29
docker/nodesource.gpg.key Normal file
Просмотреть файл

@ -0,0 +1,29 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFQCN9QBEADv5QYOlCWNkI/oKST/GGpQkOZjFY2cbYdHuc2j8kyM4oeNluXq
puEYMHOoQvbJ3DFPvsv+jCruL7qjkel9YzaF6e3RN2ystP4YBjxyOT7Bb5EnjNNU
6oScQJ50/+RmA4N3wzBrw5+x5KQGBfRU/k7JdDKO6SGY0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3RujP2MzY8cvxJQesYKdWqk3bPXI7oG/PRReoeN86TqraYO
UeTssVlw5lmJtAH+eHt3K6TSjd0rq1RY7xWfttD7L8ECfPmBzbL54MSmKx9MBz+o
a9vOWQ2LjIbR/6DEyQiDpGhQTM+r0/SVS/kqR/j0SEHvOql+sn9sK1/qR1h3JtgI
6YF4IDXBE9s0RBCLbdxtVf3eAcbOnhkhefMtpURJLdVuU8HhMCiVUlHDUPHIuT5z
Lp+avdanIgi8Cnps/DpMI2KigEHW5mmqihXtfKj0jeE=
=9Bql
-----END PGP PUBLIC KEY BLOCK-----

7
docker/nodesource.repo Normal file
Просмотреть файл

@ -0,0 +1,7 @@
[nodesource]
name=Node.js Packages for Enterprise Linux 7 - $basearch
baseurl=https://s3-us-west-2.amazonaws.com/net-mozaws-prod-us-west-2-ops-rpmrepo-mirror/nodesource/6.x/7/x86_64/
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nodesource