-
Notifications
You must be signed in to change notification settings - Fork 42
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
Set PATH on the rock for bare bases #711
Labels
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3437.
|
tigarmo
added a commit
that referenced
this issue
Oct 4, 2024
This PATH setting on the image itself has no bearing on most cases, as the PATH that prevails is the one defined by Pebble and its services. However, an empty (or unset) PATH is a potential security issue so we set it to a value that is known to be good at container-run-time. Fixes #711
1 task
tigarmo
added a commit
that referenced
this issue
Oct 4, 2024
This PATH setting on the image itself has no bearing on most cases, as the PATH that prevails is the one defined by Pebble and its services. However, an empty (or unset) PATH is a potential security issue so we set it to a value that is known to be good at container-run-time. Fixes #711
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What needs to get done
When packing a rock with a
bare
base, set thePATH
environment variable.Why it needs to get done
For security - an empty PATH will mean the implicitly addition of the current working directory.
The text was updated successfully, but these errors were encountered: