Change PHP ver in the buildtime

This commit is contained in:
eroncero
2025-07-18 09:18:30 +02:00
parent dcefbaa62e
commit 1a76816275
3 changed files with 45 additions and 44 deletions

View File

@@ -5,9 +5,10 @@ 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 BUILDTIME_PHP_VER_INST="8.2"
COPY project/buildtime/buildtime_php_ver_inst.sh /tmp/buildtime/buildtime_php_ver_inst.sh
RUN /bin/sh /tmp/buildtime/buildtime_php_ver_inst.sh
ENV DEF_PHP_INTERPRETER="8.2"
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