0👍
I think the reason is that you cleared all the cache in apt, you need to add the line RUN apt-get update
again to install the package.
RUN apt-get update && apt-get install -y \
libzip-dev \
zip \
&& docker-php-ext-install zip
Source:stackexchange.com