File tree 1 file changed +24
-6
lines changed
1 file changed +24
-6
lines changed Original file line number Diff line number Diff line change 1
1
FROM alpine:3.13
2
- LABEL Maintainer=
"Tim de Pater <[email protected] >" \
3
- Description="Lightweight container with Nginx 1.18 & PHP 8.0 based on Alpine Linux."
2
+ LABEL Maintainer=
"Tim de Pater <[email protected] >"
3
+ LABEL Description="Lightweight container with Nginx 1.18 & PHP 8.0 based on Alpine Linux."
4
4
5
5
# Install packages and remove default server definition
6
- RUN apk --no-cache add php8 php8-fpm php8-opcache php8-mysqli php8-json php8-openssl php8-curl \
7
- php8-zlib php8-xml php8-phar php8-intl php8-dom php8-xmlreader php8-ctype php8-session \
8
- php8-mbstring php8-gd nginx supervisor curl && \
9
- rm /etc/nginx/conf.d/default.conf
6
+ RUN apk --no-cache add \
7
+ curl \
8
+ nginx \
9
+ php8 \
10
+ php8-ctype \
11
+ php8-curl \
12
+ php8-dom \
13
+ php8-fpm \
14
+ php8-gd \
15
+ php8-intl \
16
+ php8-json \
17
+ php8-mbstring \
18
+ php8-mysqli \
19
+ php8-opcache \
20
+ php8-openssl \
21
+ php8-phar \
22
+ php8-session \
23
+ php8-xml \
24
+ php8-xmlreader \
25
+ php8-zlib \
26
+ supervisor \
27
+ && rm /etc/nginx/conf.d/default.conf
10
28
11
29
# Create symlink so programs depending on `php` still function
12
30
RUN ln -s /usr/bin/php8 /usr/bin/php
You can’t perform that action at this time.
0 commit comments