Skip to content

Commit

Permalink
Added bcmath PHP extension to speed up cryptographic operations
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Jan 7, 2025
1 parent 8f27c5d commit 9940e1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM php:alpine
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN apk add --no-cache bash nodejs npm supercronic && \
install-php-extensions zip pdo_mysql pdo_pgsql redis intl xdebug @composer && \
install-php-extensions zip pdo_mysql pdo_pgsql redis intl xdebug bcmath @composer && \
echo "xdebug.mode=develop,debug" >> "$PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini" && \
echo "xdebug.client_port=9003" >> "$PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini" && \
echo "xdebug.log=/tmp/xdebug.log" >> "$PHP_INI_DIR/conf.d/docker-php-ext-xdebug.ini" && \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN apk add --no-cache supercronic
# Install some PHP extensions
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/

RUN install-php-extensions zip pdo_mysql pdo_pgsql redis opcache intl @composer
RUN install-php-extensions zip pdo_mysql pdo_pgsql redis opcache intl bcmath @composer

# Set the working directory to the website files
WORKDIR /var/www/html
Expand Down

0 comments on commit 9940e1c

Please sign in to comment.