docker-php
docker-php copied to clipboard
Adding Supervisord Header Config
This pull request introduces improvements to the CI/CD workflow and simplifies the Docker images for multiple PHP-Nginx versions by replacing manual installation of supervisord with package manager installation and adding a new supervisor.conf configuration file.
CI/CD Workflow Updates:
- Added
pull_requestas a trigger in the CI/CD workflow configuration to enable testing for pull requests. (.github/workflows/ci-cd.yml, .github/workflows/ci-cd.ymlR6)
Dockerfile Simplifications:
- Replaced the manual download and installation of
supervisordwith its installation via the package manager (apk add --no-cache nginx supervisord) across all PHP-Nginx versions (8.0,8.1,8.2,8.3,8.4) for both-prodand non--prodvariants. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
Supervisor Configuration:
- Added a
supervisor.conffile for all PHP-Nginx versions (8.0,8.1,8.2,8.3,8.4) to configuresupervisordwith logging to stdout and to run in no-daemon mode. This ensures better integration with containerized environments.