From be353450d8b1a39ae789ef6a8453fdb34f8751da Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 24 Dec 2023 18:55:44 +0000 Subject: [PATCH] [docker] prod-mode doesn't need git, which means we don't need perl, which saves another 100MB --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c41801c7..2cc0f5f8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,13 +11,13 @@ RUN apt update && \ apt update && apt install -y --no-install-recommends \ php${PHP_VERSION}-cli php${PHP_VERSION}-gd php${PHP_VERSION}-zip php${PHP_VERSION}-xml php${PHP_VERSION}-mbstring \ php${PHP_VERSION}-pgsql php${PHP_VERSION}-mysql php${PHP_VERSION}-sqlite3 php${PHP_VERSION}-curl \ - curl imagemagick zip unzip git unit unit-php gettext && \ + curl imagemagick zip unzip unit unit-php gettext && \ rm -rf /var/lib/apt/lists/* # Composer has 100MB of dependencies, and we only need that during build and test FROM base AS composer RUN apt update && apt upgrade -y && \ - apt install -y composer php${PHP_VERSION}-xdebug procps net-tools vim && \ + apt install -y composer php${PHP_VERSION}-xdebug git procps net-tools vim && \ rm -rf /var/lib/apt/lists/* ENV XDEBUG_MODE=coverage