# Docker apt-get Missing -y Flag - ID: docker-apt-missing-y-flag - Severity: LOW - CWE: CWE-1395 (CWE-1395) - Languages: Dockerfile - Frameworks: docker ## Description Detects apt-get install commands without the -y flag for non-interactive builds. ## Detection Message apt-get install without -y flag may hang waiting for input ## Remediation Add the -y flag for non-interactive installation. ```dockerfile RUN apt-get install -y curl ``` Learn more: https://shoulder.dev/learn/docker/cwe-1395/apt-missing-y-flag ## Documentation [object Object] ## Related Rules - **Docker apt-get Missing Cache Cleanup** [LOW]: - **Docker apt-get Missing --no-install-recommends** [LOW]: