+6
-1
@@ -52,6 +52,9 @@ RUN --mount=type=cache,target=/var/cache/apt \
|
||||
RUN a2enmod rewrite
|
||||
|
||||
# Install PHP extensions
|
||||
RUN docker-php-ext-configure \
|
||||
opcache --enable-opcache
|
||||
|
||||
RUN docker-php-ext-install \
|
||||
pdo_mysql \
|
||||
pgsql \
|
||||
@@ -64,7 +67,9 @@ RUN docker-php-ext-install \
|
||||
soap \
|
||||
gd
|
||||
|
||||
RUN docker-php-ext-enable imagick opcache
|
||||
RUN docker-php-ext-enable \
|
||||
imagick \
|
||||
opcache
|
||||
|
||||
# PHP
|
||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_FILE" && \
|
||||
|
||||
@@ -38,9 +38,8 @@ RUN apk add --no-cache --virtual .build-deps \
|
||||
libxml2-dev \
|
||||
linux-headers
|
||||
|
||||
RUN docker-php-ext-configure gd \
|
||||
--with-freetype \
|
||||
--with-jpeg \
|
||||
RUN docker-php-ext-configure \
|
||||
gd --with-freetype --with-jpeg \
|
||||
&& docker-php-ext-install -j$(nproc) \
|
||||
pdo_mysql \
|
||||
pdo_pgsql \
|
||||
|
||||
Reference in New Issue
Block a user