Skip to content

Commit 2b4eeb0

Browse files
committed
Added PHP extensions; sodium, fileinfo, exif, imagick and zip
1 parent b04f589 commit 2b4eeb0

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

Dockerfile

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,36 @@ FROM alpine:3.10
22
LABEL Maintainer="Tim de Pater <[email protected]>" \
33
Description="Lightweight WordPress container with Nginx 1.16 & PHP-FPM 7.3 based on Alpine Linux."
44

5-
# Install packages from testing repo's
6-
RUN apk --no-cache add php7 php7-fpm php7-mysqli php7-json php7-openssl php7-curl \
7-
php7-zlib php7-xml php7-phar php7-intl php7-dom php7-xmlreader php7-xmlwriter \
8-
php7-simplexml php7-ctype php7-mbstring php7-gd nginx supervisor curl bash less
5+
# Install packages
6+
RUN apk --no-cache add \
7+
php7 \
8+
php7-fpm \
9+
php7-mysqli \
10+
php7-json \
11+
php7-openssl \
12+
php7-curl \
13+
php7-zlib \
14+
php7-xml \
15+
php7-phar \
16+
php7-intl \
17+
php7-dom \
18+
php7-xmlreader \
19+
php7-xmlwriter \
20+
php7-exif \
21+
php7-fileinfo \
22+
php7-sodium \
23+
php7-openssl \
24+
php7-gd \
25+
php7-imagick \
26+
php7-simplexml \
27+
php7-ctype \
28+
php7-mbstring \
29+
php7-zip \
30+
nginx \
31+
supervisor \
32+
curl \
33+
bash \
34+
less
935

1036
# Configure nginx
1137
COPY config/nginx.conf /etc/nginx/nginx.conf

0 commit comments

Comments
 (0)