Skip to content

QA: Add Dockerfile linter #43

@patricklodder

Description

@patricklodder

Currently the most complete Dockerfile linter seems to be hadolint, this basically implements the same principles from pylint and eslint+[semi]standard to Dockerfiles.

Open items on main as of dc0a034:

Note that after fixing some items, new findings can arise. For example, after fixing DL3027 with #42, we will get the following:

  • DL3008: Pin versions in apt get install. Instead of apt-get install <package> use apt-get install <package>=<version>

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