feat: PHP 增加是否安装 supervisor 选项

This commit is contained in:
zhengkunwang223
2023-12-05 15:24:30 +08:00
parent bc307a2198
commit e5370c604d
58 changed files with 227 additions and 545 deletions
+4 -2
View File
@@ -22,8 +22,10 @@ RUN apk --no-cache add tzdata \
&& cp "/usr/share/zoneinfo/$TZ" /etc/localtime \
&& echo "$TZ" > /etc/timezone
RUN apk add supervisor \
&& mkdir -p /var/log/supervisor
RUN if [ $INSTALL_SUPERVISOR = 1 ] ; then \
apk add --no-cache supervisor && \
mkdir -p /var/log/supervisor ; \
fi
# Fix: https://github.com/docker-library/php/issues/240
RUN apk add gnu-libiconv libstdc++ --no-cache --repository http://${CONTAINER_PACKAGE_URL}/alpine/edge/community/ --allow-untrusted