Update Docker image to PHP 8.1
This commit is contained in:
committed by
Frédéric Guillot
parent
7d0647cbed
commit
fa229bf03f
11
Dockerfile
11
Dockerfile
@@ -9,12 +9,13 @@ EXPOSE 80 443
|
||||
ARG VERSION
|
||||
|
||||
RUN apk --no-cache --update add \
|
||||
tzdata openssl unzip nginx bash ca-certificates s6 curl ssmtp mailx php8 php8-phar php8-curl \
|
||||
php8-fpm php8-json php8-zlib php8-xml php8-dom php8-ctype php8-opcache php8-zip php8-iconv \
|
||||
php8-pdo php8-pdo_mysql php8-pdo_sqlite php8-pdo_pgsql php8-mbstring php8-session php8-bcmath \
|
||||
php8-gd php8-openssl php8-sockets php8-posix php8-ldap php8-simplexml && \
|
||||
tzdata openssl unzip nginx bash ca-certificates s6 curl ssmtp mailx php81 php81-phar php81-curl \
|
||||
php81-fpm php81-json php81-zlib php81-xml php81-dom php81-ctype php81-opcache php81-zip php81-iconv \
|
||||
php81-pdo php81-pdo_mysql php81-pdo_sqlite php81-pdo_pgsql php81-mbstring php81-session php81-bcmath \
|
||||
php81-gd php81-openssl php81-sockets php81-posix php81-ldap php81-simplexml && \
|
||||
rm -rf /var/www/localhost && \
|
||||
rm -f /etc/php8/php-fpm.d/www.conf
|
||||
rm -f /etc/php81/php-fpm.d/www.conf && \
|
||||
ln -s /usr/bin/php81 /usr/bin/php
|
||||
|
||||
ADD . /var/www/app
|
||||
ADD docker/ /
|
||||
|
||||
Reference in New Issue
Block a user