Skip to content

Commit eb21c26

Browse files
committed
Add support for PostgreSQL 18 in AlmaLinux and OracleLinux Dockerfiles
1 parent fd3f788 commit eb21c26

File tree

28 files changed

+28
-28
lines changed

28 files changed

+28
-28
lines changed

dockerfiles/almalinux-8-pg11/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge
7575

7676
# install build tools and PostgreSQL development files
7777
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
78-
&& ( [[ 11 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
78+
&& ( [[ 11 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7979
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8080
&& yum groupinstall -y 'Development Tools' \
8181
&& yum install -y \

dockerfiles/almalinux-8-pg12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge
7575

7676
# install build tools and PostgreSQL development files
7777
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
78-
&& ( [[ 12 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
78+
&& ( [[ 12 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7979
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8080
&& yum groupinstall -y 'Development Tools' \
8181
&& yum install -y \

dockerfiles/almalinux-8-pg13/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge
7575

7676
# install build tools and PostgreSQL development files
7777
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
78-
&& ( [[ 13 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
78+
&& ( [[ 13 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7979
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8080
&& yum groupinstall -y 'Development Tools' \
8181
&& yum install -y \

dockerfiles/almalinux-8-pg14/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge
7575

7676
# install build tools and PostgreSQL development files
7777
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
78-
&& ( [[ 14 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
78+
&& ( [[ 14 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7979
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8080
&& yum groupinstall -y 'Development Tools' \
8181
&& yum install -y \

dockerfiles/almalinux-8-pg15/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge
7575

7676
# install build tools and PostgreSQL development files
7777
RUN ( yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
78-
&& ( [[ 15 != 17 ]] || sed -i '/\[pgdg17-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
78+
&& ( [[ 15 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7979
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8080
&& yum groupinstall -y 'Development Tools' \
8181
&& yum install -y \

dockerfiles/almalinux-8-pg16/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge
7575

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

dockerfiles/almalinux-8-pg17/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 8 == 7 ]]; then yum install -y wge
7575

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

dockerfiles/almalinux-9-pg11/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 9 == 7 ]]; then yum install -y wge
7575

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

dockerfiles/almalinux-9-pg12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 9 == 7 ]]; then yum install -y wge
7575

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

dockerfiles/almalinux-9-pg13/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN if [[ almalinux == oraclelinux ]] && [[ 9 == 7 ]]; then yum install -y wge
7575

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

0 commit comments

Comments
 (0)