Removed all libs as it is supposed to be a baseline and not the whole image

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

View File

@ -7,4 +7,6 @@ RUN apt-get update \
&& rm /tmp/modpagespeed.deb \ && rm /tmp/modpagespeed.deb \
&& 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 pdo_mysql mysqli pdo_pgsql pgsql && docker-php-ext-install -j$(nproc) opcache \
&& apt-purge -y wget $(apt-mark showauto) \
&& rm -rf /var/lib/apt/lists/*