Skip to content

Commit

Permalink
Merge pull request #1117 from citusdata/pg17
Browse files Browse the repository at this point in the history
Adds PostgreSQL 17 support
  • Loading branch information
sedagundogdu authored Dec 30, 2024
2 parents f1e8d59 + e291e6d commit f259827
Show file tree
Hide file tree
Showing 54 changed files with 182 additions and 1,694 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build-citus-community-nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,13 @@ jobs:
fail-fast: false
matrix:
platform:
- el/7
- el/8
- ol/7
- debian/buster
- debian/bullseye
- debian/bookworm
# removing temporarily since postgres 16 packages does not exist for ubuntu bionic
# - ubuntu/bionic
- ubuntu/focal
- ubuntu/jammy
- ubuntu/kinetic

steps:
- name: Checkout repository
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/build-package-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,23 @@ jobs:
fail-fast: false
matrix:
TARGET_PLATFORM:
- centos,7
- oraclelinux,8
- oraclelinux,7
- almalinux,8
- almalinux,9
POSTGRES_VERSION:
- 11
- 12
- 13
- 14
- 15
- 16
- 17
include:
- TARGET_PLATFORM: debian,buster
- TARGET_PLATFORM: debian,bullseye
- TARGET_PLATFORM: debian,bookworm
# removing temporarily since postgres 16 packages does not exist for ubuntu bionic
# - TARGET_PLATFORM: ubuntu,bionic
- TARGET_PLATFORM: ubuntu,focal
- TARGET_PLATFORM: ubuntu,jammy
- TARGET_PLATFORM: ubuntu,kinetic
- TARGET_PLATFORM: pgxn
steps:
- name: Checkout repository
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,23 @@ jobs:
fail-fast: false
matrix:
TARGET_PLATFORM:
- centos,7
- oraclelinux,8
- oraclelinux,7
- almalinux,8
- almalinux,9
POSTGRES_VERSION:
- 11
- 12
- 13
- 14
- 15
- 16
- 17
include:
- TARGET_PLATFORM: debian,buster
- TARGET_PLATFORM: debian,bullseye
- TARGET_PLATFORM: debian,bookworm
# removing temporarily since postgres 16 packages does not exist for ubuntu bionic
# - TARGET_PLATFORM: ubuntu,bionic
- TARGET_PLATFORM: ubuntu,focal
- TARGET_PLATFORM: ubuntu,jammy
- TARGET_PLATFORM: ubuntu,kinetic
- TARGET_PLATFORM: pgxn
steps:
- name: Checkout repository
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/image-health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,23 @@ jobs:
fail-fast: false
matrix:
TARGET_PLATFORM:
- centos,7
- oraclelinux,8
- oraclelinux,7
- almalinux,8
- almalinux,9
POSTGRES_VERSION:
- 11
- 12
- 13
- 14
- 15
- 16
- 17
include:
- TARGET_PLATFORM: debian,buster
- TARGET_PLATFORM: debian,bullseye
- TARGET_PLATFORM: debian,bookworm
# removing temporarily since postgres 16 packages does not exist for ubuntu bionic
# - TARGET_PLATFORM: ubuntu,bionic
- TARGET_PLATFORM: ubuntu,focal
- TARGET_PLATFORM: ubuntu,jammy
- TARGET_PLATFORM: ubuntu,kinetic
- TARGET_PLATFORM: pgxn
steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion ci/push_images
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
set -euo pipefail
IFS=$'\n\t'

pgversions='10 11 12 13 14 15 16'
pgversions='12 13 14 15 16 17'
topdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/.."
dockerfiles_dir="${topdir}/dockerfiles"

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-8-pg11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 11 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 11 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-8-pg12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 12 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 12 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-8-pg13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 13 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 13 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-8-pg14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 14 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 14 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-8-pg15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 15 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 15 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-8-pg16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 16 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 16 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# vim:set ft=dockerfile:
FROM oraclelinux:7
RUN [[ oraclelinux != centos ]] || [[ 7 != 8 ]] || ( \
FROM almalinux:8
RUN [[ almalinux != centos ]] || [[ 8 != 8 ]] || ( \
cd /etc/yum.repos.d/ && sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* \
&& sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.epel.cloud|g' /etc/yum.repos.d/CentOS-* \
)

RUN yum -y update

RUN [[ oraclelinux != centos ]] || [[ 7 != 8 ]] || ( \
RUN [[ almalinux != centos ]] || [[ 8 != 8 ]] || ( \
dnf install epel-release -y && \
dnf install dnf-plugins-core -y && \
dnf install epel-release -y && \
dnf config-manager --set-enabled powertools && \
dnf install -y perl-IPC-Run \
)

RUN [[ oraclelinux != almalinux ]] || [[ 7 != 8 ]] || ( \
RUN [[ almalinux != almalinux ]] || [[ 8 != 8 ]] || ( \
dnf install epel-release -y && \
dnf install dnf-plugins-core -y && \
dnf install epel-release -y && \
dnf config-manager --set-enabled powertools && \
dnf install -y perl-IPC-Run \
)

RUN [[ oraclelinux != oraclelinux ]] || [[ 7 != 8 ]] || ( \
RUN [[ almalinux != oraclelinux ]] || [[ 8 != 8 ]] || ( \
curl -sO https://vault.centos.org/centos/8/PowerTools/x86_64/os/Packages/perl-IO-Tty-1.12-11.el8.x86_64.rpm && \
curl -sO https://vault.centos.org/centos/8/PowerTools/x86_64/os/Packages/perl-IPC-Run-0.99-1.el8.noarch.rpm && \
dnf install perl-IO-Tty-1.12-11.el8.x86_64.rpm -y && \
Expand All @@ -32,7 +32,7 @@ RUN [[ oraclelinux != oraclelinux ]] || [[ 7 != 8 ]] || ( \
rm -f perl-IO-Tty-1.12-11.el8.x86_64.rpm \
)

RUN [[ oraclelinux != almalinux ]] || [[ 7 != 9 ]] || ( \
RUN [[ almalinux != almalinux ]] || [[ 8 != 9 ]] || ( \
dnf install epel-release -y && \
dnf -y install dnf-plugins-core && \
dnf config-manager --enable epel && \
Expand All @@ -46,7 +46,7 @@ RUN ( yum install -y yum-plugin-ovl || yum install -y yum-plugin-ovl || touch /v

# Enable some other repos for some dependencies in OL/7
# see https://yum.oracle.com/getting-started.html#installing-from-oracle-linux-yum-server
RUN [[ oraclelinux != oraclelinux ]] || [[ 7 != 7 ]] || ( \
RUN [[ almalinux != oraclelinux ]] || [[ 8 != 7 ]] || ( \
yum install -y oraclelinux-release-el7 oracle-softwarecollection-release-el7 oracle-epel-release-el7 oraclelinux-developer-release-el7 \
&& yum-config-manager --enable \
ol7_software_collections \
Expand All @@ -63,20 +63,20 @@ RUN [[ oraclelinux != oraclelinux ]] || [[ 7 != 7 ]] || ( \
# in oracle 7 repos. So package from centos repo was used
# There is no package in oracle repos for lz4. Also it is not preloaded. So both lz4 and lz4-devel packages
# were downloaded from centos el/6 repos
RUN if [[ oraclelinux == oraclelinux ]] && [[ 7 == 7 ]]; then yum install -y wget \
RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wget \
&& wget http://mirror.centos.org/centos/7/os/x86_64/Packages/lz4-devel-1.8.3-1.el7.x86_64.rpm \
&& rpm -ivh lz4-devel-1.8.3-1.el7.x86_64.rpm ; \
elif [[ oraclelinux == oraclelinux ]] && [[ 7 == 6 ]]; then yum install -y wget \
elif [[ almalinux == oraclelinux ]] && [[ 8 == 6 ]]; then yum install -y wget \
&& wget https://cbs.centos.org/kojifiles/packages/lz4/r131/1.el6/x86_64/lz4-r131-1.el6.x86_64.rpm \
&& rpm -ivh lz4-r131-1.el6.x86_64.rpm \
&& wget https://cbs.centos.org/kojifiles/packages/lz4/r131/1.el6/x86_64/lz4-devel-r131-1.el6.x86_64.rpm \
&& rpm -ivh lz4-devel-r131-1.el6.x86_64.rpm; \
else yum install -y lz4 lz4-devel; fi

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 13 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "" ]] || yum install -y ) \
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 17 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
bzip2-devel \
Expand All @@ -98,9 +98,9 @@ RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7
tar \
libzstd \
libzstd-devel \
llvm-toolset-7-clang llvm5.0 spectool curl \
&& ( [[ 7 != 8 ]] || dnf -qy module disable postgresql ) \
&& yum install -y postgresql13-server postgresql13-devel \
llvm-toolset ccache spectool curl \
&& ( [[ 8 != 8 ]] || dnf -qy module disable postgresql ) \
&& yum install -y postgresql17-server postgresql17-devel \
&& yum clean all

# install jq to process JSON API responses
Expand Down Expand Up @@ -133,7 +133,7 @@ RUN yum -y install perl-IPC-Cmd libuuid-devel cmake3
# Git 2.7.1 is minimum requirement for cmake so we remove and reinstall latests git from an up-to-date repo
# Symbolic link is not being created for cmake from cmake3 by default. Therefore, we need to create the link as well.
# devtoolset-8-gcc-c++ is required to compile azure sdk in pg azure storage project
RUN [[ oraclelinux != centos ]] || [[ 7 != 7 ]] || ( \
RUN [[ almalinux != centos ]] || [[ 8 != 7 ]] || ( \
yum -y install perl-IPC-Cmd libuuid-devel cmake3 && \
ln -s /usr/bin/cmake3 /usr/bin/cmake && \
yum -y remove git && \
Expand Down Expand Up @@ -166,7 +166,7 @@ RUN touch /rpmlintrc \
&& echo '%_build_pkgcheck %{_bindir}/rpmlint -f /rpmlintrc' >> /etc/rpm/macros

# set PostgreSQL version, place scripts on path, and declare output volume
ENV PGVERSION=13 \
ENV PGVERSION=17 \
PATH=/scripts:$PATH
COPY scripts /scripts
VOLUME /packages
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-9-pg11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 9 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 11 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 11 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-9-pg12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 9 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 12 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 12 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-9-pg13/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 9 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 13 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 13 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-9-pg14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 9 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 14 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 14 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-9-pg15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 9 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 15 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 15 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/almalinux-9-pg16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 9 == 7 ]]; then yum install -y wge

# install build tools and PostgreSQL development files
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& ( [[ 16 != 16 ]] || sed -i '/\[pgdg16-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& ( [[ 16 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
&& yum groupinstall -y 'Development Tools' \
&& yum install -y \
Expand Down
Loading

0 comments on commit f259827

Please sign in to comment.