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

The gitbucket service should be executed by non-root user. #15

Open
kanekoh opened this issue Jan 6, 2020 · 0 comments
Open

The gitbucket service should be executed by non-root user. #15

kanekoh opened this issue Jan 6, 2020 · 0 comments

Comments

@kanekoh
Copy link

kanekoh commented Jan 6, 2020

If the service doesn't require privileges, it is a good way to use USER to change to non-root user(1).
That makes easy to run on Kubernetes and OpenShift(2).

(1) https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
(2) https://docs.okd.io/latest/creating_images/guidelines.html#openshift-specific-guidelines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant