16 lines
610 B
Docker
16 lines
610 B
Docker
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"]
|