Skip to content

Commit

Permalink
🐛 Use AlmaLinux 8 instead of CentOS 8 Stream Vault (minio#320)
Browse files Browse the repository at this point in the history
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 <jmontleo@redhat.com>
  • Loading branch information
jmontleon authored Jun 4, 2024
1 parent 5703174 commit 5f6d68c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5f6d68c

Please sign in to comment.