Skip to content

Dont throw DL3014 when using "apt-get --quiet --quiet" #911

@SpikePy

Description

@SpikePy
  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

when using apt-get --quiet --quiet no warning DL3014 should be thrown

Actual behavior

DL3014 warning: Use the `-y` switch to avoid manual input `apt-get -y install <package>`

Steps to reproduce the behavior

hadolint this Dockerfile

FROM debian:stable-slim
RUN apt-get update && apt-get install --quiet --quiet sl

throws the given error but the documentory aof apt-get says that "--quiet --quiet" implicates --yes so this should not be shown!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions