Reduce size with --no-install-recommends

This commit is contained in:
DiouxX committed 2020-07-07 13:24:58 +02:00
1 parent 9a94c82205
commit d9faa67a9f
1 file changed
+2 -1
+2 -1
View File
@@ -8,7 +8,7 @@ ENV DEBIAN_FRONTEND noninteractive
#Installation d'apache et de php7.3 avec extension
RUN apt update \
&& apt --yes install \
&& apt install --yes --no-install-recommends \
apache2 \
php7.3 \
php7.3-mysql \
@@ -24,6 +24,7 @@ php7.3-apcu-bc \
php-cas \
cron \
wget \
ca-certificates \
jq \
&& rm -rf /var/lib/apt/lists/*