Now stuff is installed in the container instead of the image
This commit is contained in:
@@ -1,21 +1,20 @@
|
||||
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
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV DEBCONF_NONINTERACTIVE_SEEN=true
|
||||
RUN apt-get update; apt-get full-upgrade -y; apt-get autoclean -y && apt-get 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"
|
||||
ENV 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/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
|
||||
RUN /bin/sh /tmp/buildtime/preserve-files.sh
|
||||
ENTRYPOINT ["/bin/sh", "/entrypoint/entrypoint.sh"]
|
||||
|
Reference in New Issue
Block a user