openresty / openresty/docker-openresty
Adding Third Party Modules to Debian Images Utilizing the ".deb" Installation
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 1k
- Forks
- 536
- Avg merge
- 1d 32m
- Merged PRs (30d)
- 1
Description
I'm attempting to transition our openresty images from Alpine to Debian currently. However, we have a single module, NAXSI, that we load into our image which we were historically adding as part of the compile step as a dynamic module.
The new debian images are no longer doing the compile in the Dockerfile but are instead expecting the user to use opm to install additional modules. However, the module I'm attempting to install does not have an opm package of their module: https://github.com/wargio/naxsi/issues/114
In other versions of the Dockerfile it seems that this could be done through something like REST_CONFIG_OPTIONS_MORE https://github.com/openresty/docker-openresty/blob/30682c9b6066ed30740b5e6f9a555549e873529b/jammy/Dockerfile#L54
which is no longer available in the Debian images as far as I can tell.
What would be the best way to go about building a Docker image that has a third party package installed without utilizing opm?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the Debian Dockerfiles with the referenced historical jammy/Dockerfile line using REST_CONFIG_OPTIONS_MORE, and review how opm is used for modules. The issue does not define a specific implementation or acceptance test; completion would require agreeing on and documenting or implementing a supported way to add NAXSI or another third-party module without opm.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, dockerfile
- Domain
- build-system, devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100