File tree 1 file changed +29
-29
lines changed
1 file changed +29
-29
lines changed Original file line number Diff line number Diff line change 1
1
ARG ALPINE_VERSION=3.16
2
2
FROM alpine:${ALPINE_VERSION}
3
3
LABEL Maintainer=
"Tim de Pater <[email protected] >"
4
- LABEL Description="Lightweight container with Nginx 1.22 & PHP 8.1 based on Alpine Linux. With Laravel support by @hidde.me"
4
+ LABEL Description="Lightweight container with Nginx 1.22 & PHP 8.2 based on Alpine Linux. With Laravel support by @hidde.me"
5
5
# Setup document root
6
6
WORKDIR /var/www/html
7
7
@@ -10,41 +10,41 @@ RUN apk add --no-cache \
10
10
curl \
11
11
nginx \
12
12
redis \
13
- php81 \
14
- php81 -ctype \
15
- php81 -curl \
16
- php81 -dom \
17
- php81 -fpm \
18
- php81 -gd \
19
- php81 -intl \
20
- php81 -mbstring \
21
- php81 -pdo \
22
- php81 -pgsql \
23
- php81 -pdo_pgsql \
24
- php81 -opcache \
25
- php81 -openssl \
26
- php81 -phar \
27
- php81 -session \
28
- php81 -xml \
29
- php81 -xmlreader \
30
- php81 -xmlwriter \
31
- php81 -fileinfo \
32
- php81 -simplexml \
33
- php81 -tokenizer \
34
- php81 -exif \
35
- php81 -pcntl \
36
- php81 -posix \
37
- php81 -redis \
13
+ php82 \
14
+ php82 -ctype \
15
+ php82 -curl \
16
+ php82 -dom \
17
+ php82 -fpm \
18
+ php82 -gd \
19
+ php82 -intl \
20
+ php82 -mbstring \
21
+ php82 -pdo \
22
+ php82 -pgsql \
23
+ php82 -pdo_pgsql \
24
+ php82 -opcache \
25
+ php82 -openssl \
26
+ php82 -phar \
27
+ php82 -session \
28
+ php82 -xml \
29
+ php82 -xmlreader \
30
+ php82 -xmlwriter \
31
+ php82 -fileinfo \
32
+ php82 -simplexml \
33
+ php82 -tokenizer \
34
+ php82 -exif \
35
+ php82 -pcntl \
36
+ php82 -posix \
37
+ php82 -redis \
38
38
supervisor
39
39
# Create symlink so programs depending on `php` still function
40
- RUN ln -s /usr/bin/php81 /usr/bin/php
40
+ RUN ln -s /usr/bin/php82 /usr/bin/php
41
41
42
42
# Configure nginx
43
43
COPY config/nginx.conf /etc/nginx/nginx.conf
44
44
45
45
# Configure PHP-FPM
46
- COPY config/fpm-pool.conf /etc/php81 /php-fpm.d/www.conf
47
- COPY config/php.ini /etc/php81 /conf.d/custom.ini
46
+ COPY config/fpm-pool.conf /etc/php82 /php-fpm.d/www.conf
47
+ COPY config/php.ini /etc/php82 /conf.d/custom.ini
48
48
49
49
# Configure supervisord
50
50
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
You can’t perform that action at this time.
0 commit comments