Skip to content

DF015 false positive #2

@Pesa

Description

@Pesa
FROM ubuntu:24.04
RUN apt-get install -Uy --no-install-recommends bash

droast incorrectly reports:

  ERROR [DF015]  apt-get install without -y flag will hang waiting for user input
             at Dockerfile:2
             💬 "apt-get install without -y? Your build is going to sit there, patiently waiting for a 'yes' that will never come, like a golden retriever waiting for an owner who's on a cruise ship."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions