[
https://issues.apache.org/jira/browse/SOLR-16323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Houston Putman resolved SOLR-16323.
-----------------------------------
Fix Version/s: 9.1
main (10.0)
8.11.2
Resolution: Fixed
> Use the User ID in the Dockerfile instead of the Username
> ---------------------------------------------------------
>
> Key: SOLR-16323
> URL: https://issues.apache.org/jira/browse/SOLR-16323
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Docker
> Affects Versions: 9.0
> Reporter: Houston Putman
> Assignee: Houston Putman
> Priority: Major
> Fix For: 9.1, main (10.0), 8.11.2
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> There is a big trend towards using non-root Docker images. Luckily for us,
> Solr already uses a non-root user in its Docker image, solr:solr (8983:8983).
> However when specifying the "USER" at the end of the Dockerfile, it uses in
> the name instead of the ID. Therefore when certain security features are
> enabled, such as in Kubernetes, these tools cannot determine if the user
> "SOLR" is root or non-root. If we change to using the User ID, then these
> tools will begin to work.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]