diff --git a/Dockerfile b/Dockerfile index fe2fed7..684a160 100755 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 34be54f..915b176 100755 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -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 \