Updated PostgreSQL version to 16

This commit is contained in:
Alexey Pustovalov 2024-05-10 19:24:20 +09:00
parent 3916d7a617
commit 931413fd1b
15 changed files with 81 additions and 10 deletions

View File

@ -44,7 +44,7 @@ RUN set -eux && \
openssl-dev \
patch \
pcre2-dev \
postgresql-dev \
libpq-dev \
gettext \
git \
g++ \

View File

@ -39,7 +39,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
OpenIPMI-devel \
openldap-devel \
sqlite-devel \
postgresql-devel \
postgresql-private-devel \
postgresql-server-devel \
java-17-openjdk-devel \
git \
gettext \
@ -53,6 +54,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--setopt=keepcache=0 \
--best \
--nodocs epel-release && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "baseos" \

View File

@ -41,12 +41,19 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
OpenIPMI-devel \
openldap-devel \
sqlite-devel \
postgresql-private-devel \
postgresql-server-devel \
java-17-openjdk-devel \
git \
gettext \
unixODBC-devel \
zlib-devel" && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "ol9_appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ol9_baseos_latest" \

View File

@ -52,7 +52,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
OpenIPMI-devel \
openldap-devel \
sqlite-devel \
postgresql-devel \
postgresql-private-devel \
postgresql-server-devel \
java-17-openjdk-devel \
git \
gettext \
@ -62,6 +63,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
ARCH_SUFFIX="$(arch)"; \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "rhel-9-for-$ARCH_SUFFIX-appstream-rpms" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-9-baseos-rpms" \

View File

@ -53,8 +53,7 @@ RUN set -eux && \
net-snmp-agent-libs \
openipmi-libs \
pcre2 \
postgresql-client \
postgresql-libs \
postgresql16-client \
gzip \
unixodbc \
zlib" && \

View File

@ -56,7 +56,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
openssl-libs \
pcre2 \
postgresql \
postgresql-libs \
postgresql-private-libs \
shadow-utils \
zlib \
gzip \
@ -68,6 +68,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--setopt=keepcache=0 \
--best \
--nodocs epel-release && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "baseos" \

View File

@ -55,10 +55,17 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
openssl-libs \
pcre2 \
postgresql \
postgresql-libs \
postgresql-private-libs \
zlib \
gzip \
unixODBC" && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "ol9_baseos_latest" \
--enablerepo "ol9_appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo="*" \
--enablerepo="ol9_baseos_latest" \

View File

@ -77,7 +77,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
OpenIPMI-libs \
pcre2 \
postgresql \
postgresql-libs \
postgresql-private-libs \
gzip \
unixODBC \
zlib" && \
@ -85,6 +85,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
ARCH_SUFFIX="$(arch)"; \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "rhel-9-for-$ARCH_SUFFIX-appstream-rpms" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-9-baseos-rpms" \

View File

@ -51,7 +51,7 @@ RUN set -eux && \
php83-xmlreader \
php83-xmlwriter \
php83-openssl \
postgresql-client" && \
postgresql16-client" && \
apk add \
--no-cache \
--clean-protected \

View File

@ -57,6 +57,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--setopt=keepcache=0 \
--best \
--nodocs epel-release && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "baseos" \

View File

@ -50,6 +50,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
findutils \
glibc-locale-source \
supervisor" && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "ol9_baseos_latest" \
--enablerepo "ol9_appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo="*" \
--enablerepo="ol9_baseos_latest" \

View File

@ -51,7 +51,7 @@ RUN set -eux && \
php83-xmlreader \
php83-xmlwriter \
php83-openssl \
postgresql-client \
postgresql16-client \
supervisor" && \
apk add \
--no-cache \

View File

@ -55,6 +55,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--setopt=keepcache=0 \
--best \
--nodocs epel-release && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "baseos" \

View File

@ -48,6 +48,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
php-xml \
postgresql \
supervisor" && \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "ol9_baseos_latest" \
--enablerepo "ol9_appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo="*" \
--enablerepo="ol9_baseos_latest" \

View File

@ -72,6 +72,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
ARCH_SUFFIX="$(arch)"; \
microdnf -y module enable \
--disablerepo "*" \
--enablerepo "rhel-9-for-$ARCH_SUFFIX-appstream-rpms" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
postgresql:16 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-9-baseos-rpms" \