I am getting issue regarding Magento 2 Installation and still don't get any solution about it.
I am installing Magento 2 using docker-compose but I keep getting following warning:
[Progress: 419 / 833] Module 'Magento_Theme': In PatchApplier.php line 167: Warning: call_user_func() expects parameter 1 to be a valid callback, function 'imagecreatefromjpeg' not found or invalid function name in /var/www/myshop/vendor/magento/framework/Image/Adapter/Gd2.php on line 72
Here is how I added GD support on Dockerfile (FROM php:7.2-fpm):
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/ --with-xpm-dir=/usr/include/ --enable-gd-jis-conv RUN docker-php-ext-install -j$(nproc) gd
Here is my current phpinfo() output related gd information:
Here is my OS information:
Any help regarding this will be really appreciated since I have been stuck on this for 2 days.
Thanks in advance.