Skip to content

Commit

Permalink
Re-patch yum repos
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmaher committed Nov 15, 2024
1 parent 1dad27d commit ec21a61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/llvm-build/centos.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

# Install build dependencies
RUN yum install --assumeyes centos-release-scl

# The definition of insanity is doing the same thing and expecting a different result
RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

RUN yum install --assumeyes --nogpgcheck llvm-toolset-13.0
RUN yum install --assumeyes rh-python38-python-devel rh-python38-python-pip
SHELL [ "/usr/bin/scl", "enable", "llvm-toolset-13.0", "rh-python38" ]
Expand Down

0 comments on commit ec21a61

Please sign in to comment.