22 lines
941 B
Docker
22 lines
941 B
Docker
FROM debian:bookworm
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV DEBCONF_NONINTERACTIVE_SEEN=true
|
|
|
|
RUN apt-get update; apt-get full-upgrade -y; apt-get install vim curl iputils-ping -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/entrypoint/entrypoint.sh /entrypoint/entrypoint.sh
|
|
COPY project/entrypoint/copy-config.sh /entrypoint/copy-config.sh
|
|
COPY project/entrypoint/container-php-ver-inst.sh /entrypoint/container-php-ver-inst.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"]
|