Closed vladislavzl closed 10 months ago
Duplicate of https://github.com/docker-library/php/issues/488. The PHP source is kept so that users can install extensions that are not included by default (like via the docker-php-ext-*
scripts).
Related issue: https://github.com/docker-library/php/issues/1394
The php.tar.xz archive contains tests that are detected as malware. Like this:
layer.tar//usr/src/php.tar.xz//xz//php-8.1.22/ext/phar/tests/bug81726.gz - a hacktool program Tool.Zipbomb.3
I believe that the archive isn't needed in final php images.