Docker image build with PHP zip extension shows “bundled libzip is deprecated” warning

It looks like PHP no longer bundles libzip. You need to install it. You install zlib1g-dev, but instead install libzip-dev. This installs zlib1g-dev as a dependency and allows the configure script to detect that libzip is installed. For PHP < 7.3, you then need to docker-php-ext-configure zip –with-libzip before performing the installation with docker-php-ext-install zip … Read more