CRITICAL
Source
Trivy
ID
AVD-DS-0010

RUN using ‘sudo’

Avoid using ‘RUN’ with ‘sudo’ commands, as it can lead to unpredictable behavior.

Impact