This commit is contained in:
2025-11-01 21:18:29 +08:00
parent 35478d43d6
commit a607719b46
119 changed files with 815 additions and 1221 deletions

View File

@@ -20,11 +20,11 @@ gpgcheck=0\n\
gpgkey=file:///etc/pki/rpm-gpg/PGDG-RPM-GPG-KEY-RHEL\n\
repo_gpgcheck = 0\n\
" > /etc/yum.repos.d/pgsql-$VERSION.repo \
&& dnf makecache \
&& dnf -y module disable postgresql \
&& dnf install -y postgresql$VERSION-server \
&& microdnf makecache \
&& microdnf module disable postgresql \
&& microdnf install postgresql$VERSION-server \
&& rm -rf /var/lib/pgsql/* \
/var/cache/dnf \
/var/cache/yum \
/var/lib/dnf \
/var/log/* \
&& rm -f /var/lib/pgsql/.bash* \