From 7ecb1de169d245b59f5b29878fc61846b4bd236b Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Mon, 16 Jan 2023 16:30:15 +0100 Subject: [PATCH] refactor(Dockerfile): squash layers (apt related) --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a33cb7..c678243 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,8 @@ RUN apt update && apt -y install \ curl # Add Ondrej Sury's PPA for PHP -RUN LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php - -RUN apt update +RUN LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php \ + && apt update # Install PHP 8.1 RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt -y install \