feat(php): 8.1

This commit is contained in:
chris 2022-11-23 03:01:52 +01:00
parent 032e0a4820
commit c0378c172f
Signed by: chris
GPG key ID: 75EFC7666CF51AD6

View file

@ -1,12 +1,12 @@
FROM reg.zknt.org/zknt/alpine:3.16
FROM reg.zknt.org/zknt/alpine:3.17
COPY dumb-init_1.2.5_x86_64 /usr/local/sbin/dumb-init
RUN apk add --no-cache apache2-proxy php8-fpm && \
RUN apk add --no-cache apache2-proxy php81-fpm && \
mkdir -p /var/www/html && \
mkdir -p /usr/local/sbin && \
mkdir -p /run/apache2 &&\
chmod +x /usr/local/sbin/dumb-init
COPY httpd.conf /etc/apache2/httpd.conf
COPY zzzuser.conf /etc/php8/php-fpm.d/zzzuser.conf
COPY zzzuser.conf /etc/php81/php-fpm.d/zzzuser.conf
EXPOSE 80
ENTRYPOINT php-fpm8; /usr/local/sbin/dumb-init httpd -DFOREGROUND