Dynamically Detect Nginx Parameters and Install Additional Packages for Successful Compilation with Image #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request aims to enhance the installation process of the module by dynamically reading the parameters used to build Nginx if it is already installed. By doing so, we ensure that the module is compiled with the same parameters, promoting compatibility and consistency.
To achieve this, the following changes have been made:
Introduce a parameter detection mechanism: The installation script now checks if Nginx is installed and retrieves its build parameters dynamically. This ensures that the module is compiled using the same options, flags, and configuration as the existing Nginx installation.
Add compatibility with the Buster image: In order to compile successfully with the image, additional packages have been included as dependencies. These packages are now automatically installed during the compilation process, guaranteeing a smooth and error-free build.