diff --git a/PHP8.5/CI/Dockerfile b/PHP8.5/CI/Dockerfile index 45bb466..4a5d7db 100644 --- a/PHP8.5/CI/Dockerfile +++ b/PHP8.5/CI/Dockerfile @@ -15,6 +15,8 @@ RUN apk add --no-cache \ libpng-dev \ libjpeg-turbo-dev \ freetype-dev \ + libwebp-dev \ + libxpm-dev \ icu-dev \ gmp-dev \ libxslt-dev \ @@ -23,7 +25,12 @@ RUN apk add --no-cache \ openldap-dev \ git -RUN docker-php-ext-configure gd --with-freetype --with-jpeg \ +RUN docker-php-ext-configure gd \ + --enable-gd \ + --with-freetype \ + --with-jpeg \ + --with-webp \ + --with-xpm \ && docker-php-ext-configure ldap \ && docker-php-ext-install -j"$(nproc)" \ bcmath \ @@ -72,26 +79,29 @@ FROM php@sha256:458a35f5b39d64293acde1c7cdc3af19864e60929570cc329fc44d7a5d45ae9e # Composer install COPY --from=composer/composer:2-bin /composer /usr/local/bin/composer -# Rumtime libs + git + tini for entry point +# Runtime libs + git + tini for entry point RUN apk add --no-cache \ git \ tini \ + zlib \ freetype \ libjpeg-turbo \ libpng \ + libwebp \ + libxpm \ icu-libs \ gmp \ libxslt \ libintl \ libzip \ libldap \ - # Php mininal configuration + # Php minimal configuration && printf '# composer php cli ini settings\ndate.timezone=UTC\nmemory_limit=-1\nopcache.enable_cli=1\n' > "$PHP_INI_DIR/php-cli.ini" ENV COMPOSER_ALLOW_SUPERUSER=1 \ COMPOSER_HOME=/tmp -# Git owner ship fix +# Git ownership fix RUN git config --global --add safe.directory '*' # Copy php extensions