mirror of
https://github.com/netfun2000/docker-php-nginx.git
synced 2026-08-13 02:11:41 +08:00
Reverted the switch to a Go version of supervisord; it doesn't support multi-arch builds and the image is outdated
This commit is contained in:
+3
-3
@@ -25,7 +25,8 @@ RUN apk add --no-cache \
|
||||
php8-session \
|
||||
php8-xml \
|
||||
php8-xmlreader \
|
||||
php8-zlib
|
||||
php8-zlib \
|
||||
supervisor
|
||||
|
||||
# Create symlink so programs depending on `php` still function
|
||||
RUN ln -s /usr/bin/php8 /usr/bin/php
|
||||
@@ -37,8 +38,7 @@ COPY config/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY config/fpm-pool.conf /etc/php8/php-fpm.d/www.conf
|
||||
COPY config/php.ini /etc/php8/conf.d/custom.ini
|
||||
|
||||
# Install a golang port of supervisord and Configure
|
||||
COPY --from=ochinchina/supervisord:latest /usr/local/bin/supervisord /usr/bin/supervisord
|
||||
# Configure supervisord
|
||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
|
||||
# Make sure files/folders needed by the processes are accessable when they run under the nobody user
|
||||
|
||||
Reference in New Issue
Block a user