mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-16 16:14:47 +02:00
Add bmath for 19.0 (fix ##1122 and #1137)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
0c3bae2371
commit
8dc3fdf4d7
6 changed files with 14 additions and 0 deletions
|
@ -44,6 +44,7 @@ RUN set -ex; \
|
|||
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
||||
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||
docker-php-ext-install -j "$(nproc)" \
|
||||
bcmath \
|
||||
exif \
|
||||
gd \
|
||||
intl \
|
||||
|
|
|
@ -38,6 +38,7 @@ RUN set -ex; \
|
|||
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
||||
docker-php-ext-configure ldap; \
|
||||
docker-php-ext-install -j "$(nproc)" \
|
||||
bcmath \
|
||||
exif \
|
||||
gd \
|
||||
intl \
|
||||
|
|
|
@ -44,6 +44,7 @@ RUN set -ex; \
|
|||
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
||||
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||
docker-php-ext-install -j "$(nproc)" \
|
||||
bcmath \
|
||||
exif \
|
||||
gd \
|
||||
intl \
|
||||
|
|
|
@ -37,6 +37,7 @@ RUN set -ex; \
|
|||
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
||||
docker-php-ext-configure ldap; \
|
||||
docker-php-ext-install -j "$(nproc)" \
|
||||
bcmath \
|
||||
exif \
|
||||
gd \
|
||||
intl \
|
||||
|
|
|
@ -45,6 +45,7 @@ RUN set -ex; \
|
|||
docker-php-ext-configure gmp --with-gmp="/usr/include/$debMultiarch"; \
|
||||
docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \
|
||||
docker-php-ext-install -j "$(nproc)" \
|
||||
bcmath \
|
||||
exif \
|
||||
gd \
|
||||
intl \
|
||||
|
|
|
@ -147,6 +147,15 @@ function create_variant() {
|
|||
;;
|
||||
esac
|
||||
|
||||
case "$version" in
|
||||
16.*|17.*|18.* )
|
||||
sed -ri -e '
|
||||
\@bcmath@d;
|
||||
' "$dir/Dockerfile"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
# Copy the shell scripts
|
||||
for name in entrypoint cron; do
|
||||
cp "docker-$name.sh" "$dir/$name.sh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue