Skip to content

Commit 93afbb6

Browse files
committed
Remove PostgreSQL 18 conditional checks from various Dockerfiles and templates
1 parent c538182 commit 93afbb6

File tree

34 files changed

+12
-41
lines changed

34 files changed

+12
-41
lines changed

dockerfiles/almalinux-8-pg11/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ 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 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7978
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8079
&& yum groupinstall -y 'Development Tools' \
8180
&& yum install -y \

dockerfiles/almalinux-8-pg12/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ 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 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7978
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8079
&& yum groupinstall -y 'Development Tools' \
8180
&& yum install -y \

dockerfiles/almalinux-8-pg13/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ 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 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7978
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8079
&& yum groupinstall -y 'Development Tools' \
8180
&& yum install -y \

dockerfiles/almalinux-8-pg14/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ 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 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7978
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8079
&& yum groupinstall -y 'Development Tools' \
8180
&& yum install -y \

dockerfiles/almalinux-8-pg15/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ 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 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7978
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8079
&& yum groupinstall -y 'Development Tools' \
8180
&& yum install -y \

dockerfiles/almalinux-8-pg16/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ 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 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7978
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8079
&& yum groupinstall -y 'Development Tools' \
8180
&& yum install -y \

dockerfiles/almalinux-8-pg17/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ 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 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7978
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8079
&& yum groupinstall -y 'Development Tools' \
8180
&& yum install -y \

dockerfiles/almalinux-9-pg11/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ 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 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7978
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8079
&& yum groupinstall -y 'Development Tools' \
8180
&& yum install -y \

dockerfiles/almalinux-9-pg12/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ 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 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7978
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8079
&& yum groupinstall -y 'Development Tools' \
8180
&& yum install -y \

dockerfiles/almalinux-9-pg13/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ 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 != 18 ]] || sed -i '/\[pgdg18-updates-testing\]/{n;n;n;s/.*/enabled=1/}' /etc/yum.repos.d/pgdg-redhat-all.repo ) \
7978
&& [[ -z "epel-release" ]] || yum install -y epel-release) \
8079
&& yum groupinstall -y 'Development Tools' \
8180
&& yum install -y \

0 commit comments

Comments
 (0)