Commit 9e66681a authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller

fixing php8 build

parent cad27551
......@@ -35,10 +35,8 @@ RUN set -xe \
libmcrypt-dev \
libmcrypt \
&& apk --update --no-cache add grep \
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
&& docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
&& docker-php-ext-install -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)\
gd \
......
......@@ -35,10 +35,8 @@ RUN set -xe \
libmcrypt-dev \
libmcrypt \
&& apk --update --no-cache add grep \
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
&& docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
&& docker-php-ext-install -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)\
gd \
......
......@@ -49,7 +49,7 @@ RUN set -xe \
&& curl -L https://github.com/phpredis/phpredis/archive/$PHPREDIS_VERSION.tar.gz | tar xvz -C /usr/src/php/ext/redis --strip 1 \
&& echo 'redis' >> /usr/src/php-available-exts \
{% endif %}
{% if not isPHP74 %}
{% if not isPHP74 and not isPHP80 %}
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment