1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-07 00:35:37 +02:00

Download correct key on aarch64 in the user guide.

The default key that gets installed is for amd64. This is only required for RHEL8 it seems, so something is definitely amiss.
This commit is contained in:
David Steele
2022-01-26 10:15:14 -06:00
parent e4df5b7d38
commit da0f3a8553

View File

@ -377,7 +377,8 @@
# Install PGDG PostgreSQL repository # Install PGDG PostgreSQL repository
RUN rpm --import http://yum.postgresql.org/RPM-GPG-KEY-PGDG-10 && \ RUN rpm --import http://yum.postgresql.org/RPM-GPG-KEY-PGDG-10 && \
rpm -ivh https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm rpm -ivh https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-aarch64/pgdg-redhat-repo-latest.noarch.rpm && \
(([ `uname -m` == aarch64 ] && wget --quiet -O /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-AARCH64) || true)
# Disable default PostgreSQL repository # Disable default PostgreSQL repository
RUN command -v dnf >/dev/null 2>&1 && dnf -qy module disable postgresql || true RUN command -v dnf >/dev/null 2>&1 && dnf -qy module disable postgresql || true