Skip to content

Commit

Permalink
Disable PostgreSQL 12 repo
Browse files Browse the repository at this point in the history
  • Loading branch information
zrhoffman committed May 24, 2023
1 parent 1cad456 commit ac0cdd8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion infrastructure/cdn-in-a-box/traffic_ops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,18 @@ RUN set -o nounset -o errexit && \
if [[ "${RHEL_VERSION%%.*}" -eq 7 ]]; then \
use_repo=''; \
enable_repo=''; \
disable_repo=''; \
else \
use_repo='--repo=pgdg13'; \
enable_repo='--enablerepo=powertools'; \
disable_repo='--disablerepo=pgdg12'; \
fi; \
dnf -y install "https://download.postgresql.org/pub/repos/yum/reporpms/EL-${RHEL_VERSION%%.*}-$(rpm --eval %_arch)/pgdg-redhat-repo-latest.noarch.rpm"; \
dnf -y install epel-release libicu; \
dnf -y $disable_repo install epel-release libicu; \
dnf -y $use_repo -- install postgresql13; \
if [[ -n "$disable_repo" ]]; then \
dnf -y remove pgdg-redhat-repo; \
fi; \
dnf -y $enable_repo install \
bind-utils \
# find is required by to-access.sh
Expand Down

0 comments on commit ac0cdd8

Please sign in to comment.