Update nginx image's readme to run as non root#3071
Update nginx image's readme to run as non root#3071rcmadhankumar wants to merge 1 commit intomainfrom
Conversation
|
Created a staging project on OBS for Tumbleweed: home:pushman:BCI:Staging:Tumbleweed:Tumbleweed-3071 Build ResultsRepository
Repository
Repository
Repository
Build succeeded ✅ To run BCI-tests against this PR, use the following command: OS_VERSION=tumbleweed TARGET=custom BASEURL=registry.opensuse.org/home/pushman/bci/staging/tumbleweed/tumbleweed-3071/ tox -- -n autoThe following images can be pulled from the staging project:
|
|
Created a staging project on OBS for 16.0: home:pushman:BCI:Staging:16.0:16.0-3071 Build ResultsRepository
Repository
Repository
Repository
Repository
Repository
Repository
Repository
Build succeeded ✅ To run BCI-tests against this PR, use the following command: OS_VERSION=16.0 TARGET=custom BASEURL=registry.opensuse.org/home/pushman/bci/staging/16.0/16.0-3071/ tox -- -n autoThe following images can be pulled from the staging project:
|
|
Created a staging project on OBS for 7: home:pushman:BCI:Staging:SLE-15-SP7:7-3071 Build ResultsRepository
Repository
Repository
Repository
Repository
Repository
Repository
Repository
Build succeeded ✅ To run BCI-tests against this PR, use the following command: OS_VERSION=15.7 TARGET=custom BASEURL=registry.opensuse.org/home/pushman/bci/staging/sle-15-sp7/7-3071/ tox -- -n autoThe following images can be pulled from the staging project:
|
alexandrevicenzi
left a comment
There was a problem hiding this comment.
I added a few suggestions.
dirkmueller
left a comment
There was a problem hiding this comment.
rather than documenting how to fix it, can we just make the image runnable as non-root, e.g. the nginx user?
running as non root requires port changes in the image and we do not want to make port changes in the image. Upstream has 2 options now.
I felt option 1 is suitable, because the image is already capable of running as non root without making any more changes to it. |
05446b8 to
83966e1
Compare
83966e1 to
730fe3b
Compare
730fe3b to
19bedb8
Compare
|
|
||
| Define a new path for the process ID in `nginx.conf`: | ||
|
|
||
| ```ShellSession |
There was a problem hiding this comment.
| ```ShellSession | |
| ```Nginx |
| ``` | ||
|
|
||
| Adjust the HTTP context paths and ports in `nginx.conf`: | ||
| ```ShellSession |
There was a problem hiding this comment.
| ```ShellSession | |
| ```Nginx |
|
continued in #3167 |
No description provided.