Within my Dockerfile I do the following:
FROM urre/wordpress-nginx-docker-compose-image
# ... various other things ...
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
webp \
imagemagick \
libmagickwand-dev \
libwebp-dev
This is basically running but when I do phpinfo();
webp is not within the supported formats:
Tried various other things but nothing seems to work. Does anybody have some experience on how to add this correctly with Docker?