feat(php): 8.1
This commit is contained in:
parent
032e0a4820
commit
c0378c172f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
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 /var/www/html && \
|
||||||
mkdir -p /usr/local/sbin && \
|
mkdir -p /usr/local/sbin && \
|
||||||
mkdir -p /run/apache2 &&\
|
mkdir -p /run/apache2 &&\
|
||||||
chmod +x /usr/local/sbin/dumb-init
|
chmod +x /usr/local/sbin/dumb-init
|
||||||
COPY httpd.conf /etc/apache2/httpd.conf
|
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
|
EXPOSE 80
|
||||||
ENTRYPOINT php-fpm8; /usr/local/sbin/dumb-init httpd -DFOREGROUND
|
ENTRYPOINT php-fpm8; /usr/local/sbin/dumb-init httpd -DFOREGROUND
|
||||||
|
|
Loading…
Reference in a new issue