fix: Updating images so that they are able to run without root access #1208
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Addresses issues where the container is unable to run as root. Gives write access to required folders.
(Closes #[1207])
Test Plan
I built locally and ran
llama stack build --template remote-vllm --image-type container
and validated I could see my changes in the output:This is what the resulting image looks like:
Also tagged the image as
0.1.3-test
and pushed to quay (note there are a bunch of critical vulnerabilities we may want to look into)And for good measure I deployed the resulting image on my Openshift environment using the default Security Context and validated that there were no issue with it coming up.
My validation was all done with the
vllm-remote
distribution, but if I am understanding everything correctly the other distributions are just different run.yaml configs.Please let me know if there is anything else I need to do.