File tree Expand file tree Collapse file tree 1 file changed +29
-29
lines changed
Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Original file line number Diff line number Diff line change 11ARG ALPINE_VERSION=3.16
22FROM alpine:${ALPINE_VERSION}
33LABEL 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"
55# Setup document root
66WORKDIR /var/www/html
77
@@ -10,41 +10,41 @@ RUN apk add --no-cache \
1010 curl \
1111 nginx \
1212 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 \
3838 supervisor
3939# 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
4141
4242# Configure nginx
4343COPY config/nginx.conf /etc/nginx/nginx.conf
4444
4545# 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
4848
4949# Configure supervisord
5050COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
You can’t perform that action at this time.
0 commit comments