Fix libgmp not locating gmp.h file
This commit is contained in:
parent
9bd34ed665
commit
198c3906b2
|
@ -177,7 +177,8 @@ ARG INSTALL_GMP=false
|
|||
RUN if [ ${INSTALL_GMP} = true ]; then \
|
||||
# Install the GMP extension
|
||||
apt-get update -yqq && \
|
||||
apt-get install -y libgmp3-dev && \
|
||||
apt-get install -y libgmp-dev && \
|
||||
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h && \
|
||||
docker-php-ext-install gmp \
|
||||
;fi
|
||||
|
||||
|
|
|
@ -13,8 +13,7 @@ env | sort
|
|||
if [ -n "${PHP_VERSION}" ]; then
|
||||
cp env-example .env
|
||||
sed -i -- "s/PHP_VERSION=.*/PHP_VERSION=${PHP_VERSION}/g" .env
|
||||
sed -i -- 's/=false/=false/g' .env
|
||||
sed -i -- 's/=true/=false/g' .env
|
||||
sed -i -- 's/=false/=true/g' .env
|
||||
cat .env
|
||||
docker-compose build ${BUILD_SERVICE}
|
||||
docker images
|
||||
|
|
Loading…
Reference in New Issue