diff --git a/Dockerfile b/Dockerfile index c853d7da79ef98f80f3c7032c196b4847cb325cb..5bb418925b2428d987d351e8edd61f1ce60d8d82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,11 +17,16 @@ RUN apt-get install -y \ curl \ unzip \ nodejs \ - npm - + npm \ + wget + +RUN apt -y install lsb-release apt-transport-https ca-certificates +RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg +RUN echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php7.list +RUN apt update RUN apt-get install php7.4 -RUN apt-get install php-pear php-curl php-dev php7.4-gd php7.4-mbstring php7.4-zip php7.4-mysql php7.4-xml +RUN apt-get install php-pear php-curl php-dev php7.4-gd php7.4-mbstring php7.4-zip php7.4-mysql php7.4-xml RUN echo "date.timezone=Europe/Paris" > /usr/local/etc/php/conf.d/timezone.ini RUN echo "opcache.enable_cli=1" > /usr/local/etc/php/conf.d/opcache.ini