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 && apt install iputils-ping -y COPY project/buildtime/sury-repo.sh /tmp/buildtime/sury-repo.sh 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"]