Essentials and non essentials should not be removed in fact

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2021-11-25 16:11:27 +01:00
parent bf34be2bbb
commit 35f5766c04
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283

View File

@ -8,5 +8,5 @@ RUN apt update \
&& service apache2 restart \ && service apache2 restart \
&& mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \ && mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
&& docker-php-ext-install -j$(nproc) opcache \ && docker-php-ext-install -j$(nproc) opcache \
&& apt purge -y --allow-remove-essential wget $(apt-mark showauto) \ && apt purge -y wget \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*