From 5f6d68c248a5328bea3918e60b0a58c95d32de31 Mon Sep 17 00:00:00 2001 From: Jason Montleon Date: Tue, 4 Jun 2024 13:23:00 -0400 Subject: [PATCH] :bug: Use AlmaLinux 8 instead of CentOS 8 Stream Vault (#320) Switch to Alma. The CentOS 8 Stream Vault metadata seems to be broken. The postgres:15 module is unavailable and builds are still breaking. I've beem locally with Alma and it works. They also support all architectures for AlmaLinux 8. Rocky and others are lacking, at least according to this chart: https://wiki.almalinux.org/Comparison.html Signed-off-by: Jason Montleon --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 123b48e6504..4da624615f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,11 @@ USER 0 COPY tools/upgrades/migrate-pathfinder-assessments.py /usr/local/bin/migrate-pathfinder-assessments.py COPY tools/upgrades/jwt.sh /usr/local/bin/jwt.sh RUN dnf -y install openssl && dnf clean all -RUN echo -e "[centos8-appstream]" \ - "\nname = centos8-appstream" \ - "\nbaseurl = https://vault.centos.org/8-stream/AppStream/x86_64/os/" \ +RUN echo -e "[almalinux8-appstream]" \ + "\nname = almalinux8-appstream" \ + "\nbaseurl = https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/" \ "\nenabled = 1" \ - "\ngpgcheck = 0" > /etc/yum.repos.d/centos.repo + "\ngpgcheck = 0" > /etc/yum.repos.d/almalinux.repo RUN dnf -y module enable postgresql:15 && dnf -y install postgresql && dnf clean all USER 1001