Skip to content

Commit

Permalink
Merge pull request #637 from pulp/patchback/backports/3.28/d83cdcc947…
Browse files Browse the repository at this point in the history
…3c0200754fdf5d76441b0e30baff4f/pr-635

[PR #635/d83cdcc9 backport][3.28] Update CentOS 8 containers for the distro's EOL
  • Loading branch information
mikedep333 authored Jun 4, 2024
2 parents 2a8b4dd + dcf7069 commit 8bb8489
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/634.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update CentOS 8 containers for the distro's EOL
3 changes: 3 additions & 0 deletions images/Containerfile.core.base
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ ENV PULP_GUNICORN_TIMEOUT=${PULP_GUNICORN_TIMEOUT:-90}
ENV PULP_API_WORKERS=${PULP_API_WORKERS:-2}
ENV PULP_CONTENT_WORKERS=${PULP_CONTENT_WORKERS:-2}

RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

# Install updates & dnf plugins before disabling python36 to prevent errors
RUN dnf -y install dnf-plugins-core && \
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
Expand Down

0 comments on commit 8bb8489

Please sign in to comment.