From f683bed0b03c34c1262bfda6118dd60696b67908 Mon Sep 17 00:00:00 2001 From: Michael Chernov <4ernovm@gmail.com> Date: Thu, 23 Nov 2023 12:59:03 +0200 Subject: [PATCH] Add clean instructions --- build/docker/debian.Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/docker/debian.Dockerfile b/build/docker/debian.Dockerfile index c1da4a3c..51ef6b97 100644 --- a/build/docker/debian.Dockerfile +++ b/build/docker/debian.Dockerfile @@ -81,11 +81,11 @@ RUN apt -y update && apt -y upgrade && apt -y install openjdk-11-jre \ RUN dotnet --version -RUN apt update - -RUN apt install lsb-release apt-transport-https ca-certificates software-properties-common -y && \ +RUN apt update && \ + apt install lsb-release apt-transport-https ca-certificates software-properties-common -y && \ curl -o /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \ - sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' + sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' && \ + apt -y clean && rm -rf /var/lib/apt/lists/* RUN apt -y update && apt -y install \ php8.2 \