-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
I'm trying to run some tools in Docker – having to handle the warning about running as root is a bit annoying.
Could I have an ENV variable that can silence this? (See my horrible bash script edit below)
# Test if running as superuser
if [[ "$EUID" == "0" && !dont_annoy_kevin ]]; then
echo " Woah! You appear to be trying to run flutter as root."
echo " We strongly recommend running the flutter tool without superuser privileges."
echo " /"
echo "📎"
fiMetadata
Metadata
Assignees
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.