mirror of
https://github.com/librespeed/speedtest.git
synced 2024-11-25 16:52:58 +08:00
fix: purge php src
Signed-off-by: rare-magma <rare-magma@posteo.eu>
This commit is contained in:
parent
4f067f4aa0
commit
301e3f5234
@ -10,6 +10,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
|
||||
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
|
||||
&& docker-php-ext-install -j$(nproc) gd pdo pdo_mysql pdo_pgsql pgsql \
|
||||
&& rm -f /usr/src/php.tar.xz /usr/src/php.tar.xz.asc \
|
||||
&& apt-get remove -y libfreetype6-dev \
|
||||
libjpeg62-turbo-dev \
|
||||
libpng-dev \
|
||||
|
@ -15,6 +15,7 @@ RUN apk add --quiet --no-cache \
|
||||
&& docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
|
||||
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
|
||||
&& docker-php-ext-install -j$(nproc) gd pdo pdo_mysql pdo_pgsql pgsql \
|
||||
&& rm -f /usr/src/php.tar.xz /usr/src/php.tar.xz.asc \
|
||||
&& apk del --quiet --no-cache \
|
||||
freetype-dev \
|
||||
libjpeg-turbo-dev \
|
||||
|
Loading…
Reference in New Issue
Block a user