This commit is contained in:
eroncero
2025-07-17 11:10:08 +02:00
parent b81b786dcb
commit 530860a045
12 changed files with 16 additions and 63 deletions

15
php-fpm-srv/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM debian:bookworm
RUN apt-get update; apt-get full-upgrade -y; apt-get autoclean -y
COPY project/buildtime/sury-repo.sh /tmp/buildtime/sury-repo.sh
RUN /bin/sh /tmp/buildtime/sury-repo.sh
ENV DEF_PHP_VER="7.4"
COPY project/buildtime/install-def-php.sh /tmp/buildtime/install-def-php.sh
RUN /bin/sh /tmp/buildtime/install-def-php.sh
COPY project/entrypoint/entrypoint.sh /entrypoint/entrypoint.sh
COPY project/entrypoint/install-php-versions.sh /entrypoint/install-php-versions.sh
COPY project/entrypoint/start-php-fpm.sh /entrypoint/start-php-fpm.sh
ENTRYPOINT ["/bin/sh", "/entrypoint/entrypoint.sh"]