Files
phppgadmin-kubernetes/Dockerfile
T
feedc0de 732f8c7fd3
Validate and deploy phpPgAdmin / Build, test and publish image (push) Successful in 1m13s
Validate and deploy phpPgAdmin / Validate manifests (push) Successful in 11s
Validate and deploy phpPgAdmin / Deploy to Kubernetes (push) Successful in 3m1s
Use published PHP base version and Docker for containerized validation
2026-10-14 21:02:14 +02:00

22 lines
951 B
Docker

ARG PHP_APACHE_TAG=2.4.69-8.5.11
FROM registry.brunner.ninja/feedc0de/php-apache:${PHP_APACHE_TAG}
ARG PHPPGADMIN_VERSION=7.14.7
RUN curl --fail --show-error --location \
--output /tmp/phppgadmin.tar.gz \
"https://github.com/ReimuHakurei/phpPgAdmin/archive/refs/tags/v${PHPPGADMIN_VERSION}-mod.tar.gz" \
&& install -d /usr/share/webapps/phppgadmin /etc/phppgadmin \
&& tar --extract --gzip --file /tmp/phppgadmin.tar.gz \
--strip-components=1 --directory /usr/share/webapps/phppgadmin \
&& cp /usr/share/webapps/phppgadmin/conf/config.inc.php-dist \
/etc/phppgadmin/config.inc.php \
&& rm -f /usr/share/webapps/phppgadmin/conf/config.inc.php \
&& ln -s /etc/phppgadmin/config.inc.php \
/usr/share/webapps/phppgadmin/conf/config.inc.php \
&& rm /tmp/phppgadmin.tar.gz
COPY phppgadmin.conf /etc/httpd/conf/extra/phppgadmin.conf
RUN printf '%s\n' 'Include conf/extra/phppgadmin.conf' >> /etc/httpd/conf/httpd.conf