feat: PHP 增加 supervisor

This commit is contained in:
zhengkunwang223
2023-11-30 17:52:26 +08:00
parent 95069a81d4
commit 89cec863f7
67 changed files with 1834 additions and 15 deletions
+2 -2
View File
@@ -16,7 +16,8 @@ WORKDIR /tmp/extensions
RUN chmod +x install.sh \
&& sh install.sh
RUN apk add supervisor \
&& mkdir -p /var/log/supervisor
RUN apk --no-cache add tzdata \
&& cp "/usr/share/zoneinfo/$TZ" /etc/localtime \
@@ -33,7 +34,6 @@ RUN curl -ksS https://getcomposer.org/installer | php -- --install-dir=/usr/bin
&& chmod +x /usr/bin/composer \
&& rm -rf /tmp/composer-setup.php
# php image's www-data user uid & gid are 82, change them to 1000 (primary user)
RUN apk --no-cache add shadow && usermod -u 1000 www-data && groupmod -g 1000 www-data