Commit 88eac26
authored
Add USER root disclaimer to porting sample app guide (#3245)
## Type of change
**Documentation Update**
- Added disclaimer to the `USER root` key point clarifying it is a
temporary escalation only, and that users should switch to a dedicated
non-root user after completing root-level operations
## What should this PR do?
resolves chainguard-dev/internal#4783
## Why are we making this change?
A customer migrating to Chainguard Images interpreted the `USER root`
guidance as a permanent setting rather than a temporary step for
software installation. The updated wording makes clear that containers
should revert to a dedicated non-root user after root-level operations,
preserving the security benefits of minimal images.
## What are the acceptance criteria?
- The "Porting Key Points" bullet on `USER root` explicitly states it is
a temporary escalation
- The bullet advises creating and switching to a dedicated non-root user
(or using the image's built-in non-root user) after root-level
operations
- The disclaimer is clear and actionable without being overly verbose
## How should this PR be tested?
1. Check the preview link and verify the updated bullet point renders
correctly in the "Porting Key Points" section
2. Confirm the disclaimer reads naturally within the existing list
Signed-off-by: Mark Drake <mark@chainguard.dev>1 parent 6b0a011 commit 88eac26
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments