feat(nginx): Make nginx Non-root & Read-only-friendly#13384
feat(nginx): Make nginx Non-root & Read-only-friendly#13384kiblik wants to merge 1 commit intoDefectDojo:devfrom
Conversation
3352df0 to
f02448f
Compare
|
@mtesauro does this fit into your plans for image hardening? |
TBH, I was going to start with the DefectDojo/Django containers first as those are the containers where we have the most code / do the most modifications. Changing the UID to under the typical 1000+ is interesting but I don't believe it will cause issues for k8s and it also seems that OpenSift has stopped wanting specific UIDs based on this so this shouldn't hurt those using k8s or compose currently as far as I can tell. |
|
I can test this PR out when it's not a draft as well |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
The current issue with this PR is that as soon as the process tries to modify configs execution fails (because FS is read-only). I'm considering creating a separate PR that will be responsible for generating the final config, which will be on a read-write location. It would combine multiple partial definitions of the |
Fix #11031