From 8c7823949e7a445ab40dee47fef3121fd8dc0f1b Mon Sep 17 00:00:00 2001 From: Dillard Blom Date: Sun, 12 Jul 2026 09:35:32 +0200 Subject: [PATCH] Fix GD build missing FreeType/JPEG support libfreetype6-dev and libjpeg62-turbo-dev were installed as apt dependencies but docker-php-ext-install gd was never configured with --with-freetype --with-jpeg, so GD silently built without them. imagettftext() didn't exist, so frame text under QR codes always fell back to GD's blocky built-in bitmap font regardless of the font selected in the UI. JPEG support was missing too as a side effect. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Fo3DiRRpmz2DXjD7Uzhc8u --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 81d1fa4..1b45880 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,6 +75,7 @@ RUN cd /opt \ && rm /opt/composer-setup.php /opt/composer-setup.sha384sum RUN docker-php-source extract +RUN docker-php-ext-configure gd --with-freetype --with-jpeg RUN docker-php-ext-install pdo_mysql zip exif pcntl gd RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli RUN docker-php-ext-install gettext && docker-php-ext-enable gettext