Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👻 Improve running as non-root #473

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

jmontleon
Copy link
Member

With this change we can at least run as non-root.

I would also proprose moving binaries that need to be accessible to all users be installed in /usr/local/bin. But as of right now it seems we have configs (or something) hard coded to this location.
https://github.com/konveyor/java-analyzer-bundle/blob/main/Dockerfile#L41

https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html

@jmontleon jmontleon changed the title Improve running as non-root 👻 Improve running as non-root Jan 23, 2024
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
@shawn-hurley
Copy link
Contributor

follow up issue created in #474

@shawn-hurley shawn-hurley merged commit 01d0708 into konveyor:main Jan 24, 2024
6 checks passed
@shawn-hurley shawn-hurley added the cherry-pick/release-0.3 This PR should be cherry-picked to release-0.3 branch. label Jan 24, 2024
github-actions bot pushed a commit that referenced this pull request Jan 24, 2024
With this change we can at least run as non-root.

I would also proprose moving binaries that need to be accessible to all
users be installed in /usr/local/bin. But as of right now it seems we
have configs (or something) hard coded to this location.

https://github.com/konveyor/java-analyzer-bundle/blob/main/Dockerfile#L41

https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html

Signed-off-by: Jason Montleon <jmontleo@redhat.com>
pranavgaikwad pushed a commit that referenced this pull request Jan 25, 2024
With this change we can at least run as non-root.

I would also proprose moving binaries that need to be accessible to all
users be installed in /usr/local/bin. But as of right now it seems we
have configs (or something) hard coded to this location.


https://github.com/konveyor/java-analyzer-bundle/blob/main/Dockerfile#L41

https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html

Signed-off-by: Jason Montleon <jmontleo@redhat.com>

Signed-off-by: Jason Montleon <jmontleo@redhat.com>
Co-authored-by: Jason Montleon <jmontleo@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick/release-0.3 This PR should be cherry-picked to release-0.3 branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants