Skip to content

Commit d0e6d9b

Browse files
committed
Add php extensions
1 parent a56b3d2 commit d0e6d9b

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

Dockerfile

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,24 @@ RUN apk add \
1717

1818
ENV CFLAGS="$CFLAGS -D_GNU_SOURCE"
1919

20-
RUN docker-php-ext-install \
21-
bz2 \
22-
calendar \
23-
exif \
24-
opcache \
25-
pcntl \
26-
shmop \
27-
soap \
28-
sockets \
29-
sodium \
30-
sysvsem \
31-
sysvshm \
32-
xsl
20+
21+
docker-php-ext-install -j$(nproc) \
22+
bcmath \
23+
ctype \
24+
dom \
25+
fileinfo \
26+
gd \
27+
intl \
28+
mbstring \
29+
opcache \
30+
pcntl \
31+
pdo_mysql \
32+
simplexml \
33+
soap \
34+
xsl \
35+
zip \
36+
sockets \
37+
&& docker-php-ext-enable bcmath ctype dom fileinfo gd intl mbstring opcache pcntl pdo_mysql simplexml soap xsl zip sockets
3338

3439
RUN apk add --virtual build-deps autoconf gcc make g++ zlib-dev \
3540
&& pecl channel-update pecl.php.net \

0 commit comments

Comments
 (0)