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

Update Dockerfile for OpenShift #994

Closed
wants to merge 1 commit into from

Conversation

namloc2001
Copy link
Contributor

Hi, I am running Dependency Track 4.2.1 on OpenShift. OpenShift applies its Restricted SCC to deployments by default, whereby it assigns an arbitrary UID to the container and also assigns it GID=0. Therefore if we update Dockerfiles to chown/chgrp GID=0 and also chmod g=u (so that the group 0 has same permissions as user) we can ensure the Dockerfiles are compatible with OpenShift best practice.

Reference: "Support arbitrary user ids" https://docs.openshift.com/container-platform/4.1/openshift_images/create-images.html

Signed-off-by: Matt Colman <namloc2001@yahoo.co.uk>
@k3rnelpan1c-dev
Copy link
Contributor

Hi Matt, could you check if Dependency Track 4.4.0, which includes #1303, is sufficient for you?

@namloc2001 namloc2001 closed this Feb 20, 2022
@namloc2001
Copy link
Contributor Author

Covered by existing PR.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants