From 454722851f395f8cd3955fd8aa42a068f79711f3 Mon Sep 17 00:00:00 2001 From: Shiham Abdul Rahman Date: Fri, 7 Oct 2022 16:34:39 +0500 Subject: [PATCH] FIX: cant insatll php8.1 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 060b0a2..8aa4c7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,8 @@ RUN apt install redis -y --no-install-recommends \ RUN wget https://packages.sury.org/php/apt.gpg \ && apt-key add apt.gpg \ && rm apt.gpg \ - && echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list + && echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list \ + && apt update #Installing and configure PHP RUN apt install php${PHPVERSION} -y --no-install-recommends \