php ext bz2 (#2500)

* php ext bz2
* fix typo
* fix php-fpm bz2 ext
* fix horizon bz2 ext
This commit is contained in:
Shao Yu-Lung (Allen)
2020-02-11 23:56:58 +08:00
committed by GitHub
parent b2ae5f6d44
commit f8b7404263
6 changed files with 41 additions and 0 deletions

View File

@ -46,6 +46,13 @@ ENV PGID ${PGID}
RUN addgroup -g ${PGID} laradock && \
adduser -D -G laradock -u ${PUID} laradock
#Install BZ2:
ARG INSTALL_BZ2=false
RUN if [ ${INSTALL_BZ2} = true ]; then \
apk --update add bzip2-dev; \
docker-php-ext-install bz2 \
;fi
#Install BCMath package:
ARG INSTALL_BCMATH=false
RUN if [ ${INSTALL_BCMATH} = true ]; then \