1
0
Fork 0
forked from mirror/pixelfed

Add bcmath PHP extension to Dockerfile

This is required by `moontoast/math` dependency.
This commit is contained in:
ArthurHoaro 2018-08-18 14:13:06 +02:00 committed by GitHub
parent f6bfa0440b
commit eec2b889fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ ARG COMPOSER_CHECKSUM="67bebe9df9866a795078bb2cf21798d8b0214f2e0b2fd81f2e907a8ef
RUN apk add --no-cache --virtual .build build-base autoconf imagemagick-dev libtool && \ RUN apk add --no-cache --virtual .build build-base autoconf imagemagick-dev libtool && \
apk --no-cache add imagemagick git && \ apk --no-cache add imagemagick git && \
docker-php-ext-install pdo_mysql pcntl && \ docker-php-ext-install pdo_mysql pcntl bcmath && \
pecl install imagick && \ pecl install imagick && \
docker-php-ext-enable imagick pcntl imagick && \ docker-php-ext-enable imagick pcntl imagick && \
curl -LsS https://getcomposer.org/download/${COMPOSER_VERSION}/composer.phar -o /tmp/composer.phar && \ curl -LsS https://getcomposer.org/download/${COMPOSER_VERSION}/composer.phar -o /tmp/composer.phar && \