I have wordpress with this php docker and runing into this issue:
PHP Version [5.6.3] Pass
Zip Archive Enabled Fail
Could anyone please show me how to enable zip support in this php container? docker-php-ext-install zip saying that I need to install zlib1g-dev but that package is not found within this debian build (apt-get install zlib1g-dev).
Thanks
If this is your own WordPress image, just add these lines to your Dockerfile:
RUN apt-get update \
&& apt-get install -y zlib1g-dev \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-install zip
Thanks, I just forgot having double "&" and that cause E: Unable to locate package zlib1g-dev.
Most helpful comment
If this is your own WordPress image, just add these lines to your Dockerfile: