Open bromi0 opened 1 year ago
I've tried to base image on your setup and found out that GD doesn't get configured in the way you propose:
# compile native PHP packages RUN docker-php-ext-install \ gd \ pcntl \ bcmath \ mysqli \ pdo_mysql # configure packages RUN docker-php-ext-configure gd --with-freetype --with-jpeg
You can easy see it in php info, no Freetype in GD section. AFAIR the docker configure script is essentially doing make configure with proper docker way, so it should go before install. I've tried to swap steps and got Freetype support in phpinfo.
More so, the way in your guide creates enormous layer anyway. So have to -configure && -install in one RUN.
I've tried to base image on your setup and found out that GD doesn't get configured in the way you propose:
You can easy see it in php info, no Freetype in GD section. AFAIR the docker configure script is essentially doing make configure with proper docker way, so it should go before install. I've tried to swap steps and got Freetype support in phpinfo.