From aaa61182866dd7fdc67682920b4eafb37a4a0513 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 29 Jul 2018 16:33:11 +0200 Subject: [PATCH] remove "ln gmp.h" command in alpine --- alpine/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 6a68c1f..7153e5c 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -10,8 +10,7 @@ RUN apk update \ && apk add --no-cache git gmp-dev freetype-dev libjpeg-turbo-dev \ coreutils chrpath fontconfig libpng-dev -RUN ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/local/include/ \ - && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ +RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ && docker-php-ext-configure gmp \ && docker-php-ext-install iconv mbstring pdo pdo_mysql zip gd gmp opcache \ && echo "php_admin_value[error_reporting] = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED">>/usr/local/etc/php-fpm.d/www.conf