Use new basis image

This commit is contained in:
2025-10-27 18:43:46 +01:00
parent d6787be7a8
commit 35fda2ac59
+5 -6
View File
@@ -1,7 +1,6 @@
FROM registry.brunner.ninja/feedc0de/php-apache
FROM registry.brunner.ninja/feedc0de/php-apache-postgres
RUN pacman -S --noconfirm php-pgsql-interpreter php-pgsql postgresql-libs \
&& pacman -S --noconfirm git sudo base-devel \
RUN pacman -Syu --noconfirm git sudo base-devel \
&& cd /tmp \
&& sudo -u http git clone https://aur.archlinux.org/phppgadmin.git \
&& cd phppgadmin \
@@ -10,7 +9,9 @@ RUN pacman -S --noconfirm php-pgsql-interpreter php-pgsql postgresql-libs \
&& ls \
&& cd .. \
&& rm -Rfv phppgadmin \
&& pacman -Rcnsu --noconfirm git sudo base-devel php-legacy
&& pacman -Rcnsu --noconfirm git sudo base-devel \
&& pacman -Sc --noconfirm \
&& rm -v /var/log/pacman.log /var/lib/pacman/sync/*
RUN sed -i 's|^DocumentRoot.*|DocumentRoot "/usr/share/webapps/phppgadmin"|' /etc/httpd/conf/httpd.conf \
&& echo '<Directory "/usr/share/webapps/phppgadmin">' >> /etc/httpd/conf/httpd.conf \
@@ -19,5 +20,3 @@ RUN sed -i 's|^DocumentRoot.*|DocumentRoot "/usr/share/webapps/phppgadmin"|' /et
&& echo ' Options FollowSymlinks' >> /etc/httpd/conf/httpd.conf \
&& echo ' Require all granted' >> /etc/httpd/conf/httpd.conf \
&& echo '</Directory>' >> /etc/httpd/conf/httpd.conf
RUN sed -i '/extension=pgsql/ s/^;//' /etc/php/php.ini