-y switch.
Description
Without the--assume-yes (-y) option it might be possible that the build breaks without human intervention. Always use -y with apt-get install
to avoid interactive prompts during the build.
Examples
Problematic code
Correct code
Auto-fix
Adds-y flag to apt-get install commands.