Skip to content

Commit

Permalink
update yum repo for centos 8 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
neomantra committed Mar 15, 2022
1 parent 036230b commit e56f397
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changelog
## 1.19.9.1-6

* Update OpenSSL to 1.1.1n for built-from-source flavors due to CVE-2022-0778 (#200)
* `centos` flavor (from EOL Centos 8) now uses yum repo http://vault.centos.org

## 1.19.9.1-5

Expand Down
4 changes: 3 additions & 1 deletion centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ LABEL resty_rpm_dist="${RESTY_RPM_DIST}"
LABEL resty_rpm_arch="${RESTY_RPM_ARCH}"


RUN yum install -y yum-utils \
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* \
&& sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-* \
&& yum install -y yum-utils \
&& yum-config-manager --add-repo ${RESTY_YUM_REPO} \
&& yum install -y \
gettext \
Expand Down

0 comments on commit e56f397

Please sign in to comment.