Add additional PHP extensions and system dependencies to Dockerfile
This commit is contained in:
+7
-1
@@ -23,6 +23,9 @@ RUN --mount=type=cache,target=/var/cache/apt \
|
|||||||
libzip-dev \
|
libzip-dev \
|
||||||
zip \
|
zip \
|
||||||
unzip \
|
unzip \
|
||||||
|
zlib1g-dev \
|
||||||
|
libicu-dev \
|
||||||
|
g++ \
|
||||||
nodejs \
|
nodejs \
|
||||||
npm \
|
npm \
|
||||||
cron \
|
cron \
|
||||||
@@ -51,6 +54,8 @@ RUN --mount=type=cache,target=/var/cache/apt \
|
|||||||
# Enable Apache mod_rewrite for URL rewriting
|
# Enable Apache mod_rewrite for URL rewriting
|
||||||
RUN a2enmod rewrite
|
RUN a2enmod rewrite
|
||||||
|
|
||||||
|
RUN docker-php-ext-configure intl
|
||||||
|
|
||||||
# Install PHP extensions
|
# Install PHP extensions
|
||||||
RUN docker-php-ext-install \
|
RUN docker-php-ext-install \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
@@ -62,7 +67,8 @@ RUN docker-php-ext-install \
|
|||||||
sockets\
|
sockets\
|
||||||
bcmath \
|
bcmath \
|
||||||
soap \
|
soap \
|
||||||
gd
|
gd \
|
||||||
|
intl
|
||||||
|
|
||||||
RUN docker-php-ext-enable imagick
|
RUN docker-php-ext-enable imagick
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user