Skip to content

Commit

Permalink
chore(release) fix CentOS 7 build image
Browse files Browse the repository at this point in the history
A new issue since CentOS 7 has reached EOL a few days ago. We will
likely drop this but this commit is a fix for posterity should we have
to dig the image back.
  • Loading branch information
thibaultcha committed Jul 15, 2024
1 parent 507e3b4 commit 359d823
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/release/Dockerfiles/Dockerfile.amd64.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ FROM centos/python-38-centos7
COPY . /ngx_wasm_module
USER root

RUN yum update -y && \
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/*.repo && \
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/*.repo && \
yum-config-manager --disable centos-sclo-sclo && \
yum update -y && \
yum install -y epel-release && \
yum install -y centos-release-scl && \
yum install -y \
Expand Down

0 comments on commit 359d823

Please sign in to comment.