Multi PHP working

This commit is contained in:
eroncero
2025-08-03 16:57:20 +02:00
parent b350243c64
commit 49d9c13f4d
193 changed files with 5159 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
FROM debian:bookworm
ARG DEBIAN_FRONTEND=noninteractive
ARG DEBCONF_NONINTERACTIVE_SEEN=true
RUN apt-get update; apt-get full-upgrade -y; apt-get autoclean -y
COPY project/buildtime/sury-repo.sh /tmp/buildtime/sury-repo.sh
@@ -7,10 +9,13 @@ RUN /bin/sh /tmp/buildtime/sury-repo.sh
ARG BUILDTIME_PHP_VER_INST="8.2"
COPY project/buildtime/buildtime_php_ver_inst.sh /tmp/buildtime/buildtime_php_ver_inst.sh
COPY project/buildtime/preserve-files.sh /tmp/buildtime/preserve-files.sh
RUN /bin/sh /tmp/buildtime/buildtime_php_ver_inst.sh
ENV DEF_PHP_INTERPRETER="8.2"
ENV PHP_VERSIONS=
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
RUN /bin/sh /tmp/buildtime/preserve-files.sh
ENTRYPOINT ["/bin/sh", "/entrypoint/entrypoint.sh"]