From 04756fdb8ddc19d4fb98aeffc17b30bbccb105bd Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Fri, 11 Mar 2022 14:00:00 +0100 Subject: [PATCH] server with php7.2 Signed-off-by: tobiasKaminsky --- server/Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index 37f63ace..f04d4e45 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -2,18 +2,18 @@ FROM debian:stable # Update repos install packages and cleanup # all in one step so we avoid large intermediate layers. -RUN apt-get update && \ +RUN apt-get update && \ apt-get install -y wget gnupg2 git libzip4 apt-transport-https lsb-release ca-certificates && \ wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list && \ apt-get update && \ - apt-get install -y php7.4-cli php7.4-common php7.4-mbstring \ - php7.4-gd php7.4-imagick php7.4-intl php7.4-bz2 php7.4-xml \ - php7.4-mysql php7.4-zip php7.4-dev curl php7.4-curl \ - php-dompdf php7.4-apcu redis-server php7.4-redis php7.4-smbclient \ - php7.4-ldap unzip php7.4-pgsql php7.4-sqlite make apache2 \ - php7.4-json php7.4-opcache libmagickcore-6.q16-2-extra \ - libapache2-mod-php7.4 && \ + apt-get install -y php7.2-cli php7.2-common php7.2-mbstring \ + php7.2-gd php7.2-imagick php7.2-intl php7.2-bz2 php7.2-xml \ + php7.2-mysql php7.2-zip php7.2-dev curl php7.2-curl \ + php-dompdf php7.2-apcu redis-server php7.2-redis php7.2-smbclient \ + php7.2-ldap unzip php7.2-pgsql php7.2-sqlite make apache2 \ + php7.2-json php7.2-opcache libmagickcore-6.q16-2-extra \ + libapache2-mod-php7.2 && \ apt-get autoremove -y && apt-get autoclean && apt-get clean && \ rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*