Skip to content

Commit 3f0d8af

Browse files
committed
Install PHP extensions
1 parent f6def21 commit 3f0d8af

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,25 @@ RUN /usr/bin/composer -v
66

77
# @see https://hub.docker.com/_/php
88
FROM php:8.0.7-cli-alpine AS php
9+
RUN apk add \
10+
bzip2-dev \
11+
libsodium-dev \
12+
libxml2-dev \
13+
libxslt-dev
14+
15+
RUN docker-php-ext-install \
16+
bz2 \
17+
calendar \
18+
exif \
19+
pcntl \
20+
shmop \
21+
soap \
22+
sockets \
23+
sodium \
24+
sysvsem \
25+
sysvshm \
26+
xsl
27+
928
RUN which php; php -v; php -m; php -i | grep etc
1029

1130
# @see https://hub.docker.com/_/python/

0 commit comments

Comments
 (0)