Skip to content

Incorrect example in documentation #1023

Open
@monkey-knuckles

Description

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

Expected behaviour

In the problems field in VSC should show hadolint(DL3017) with the following example from the documentation.

FROM alpine:3.7 RUN apk update \ && apk upgrade \ && apk add foo=1.0 \ && rm -rf /var/cache/apk/*

Actual behaviour

Displays error code DL3019

Steps to reproduce the behaviour

Output of hadolint --version or
docker run --rm hadolint/hadolint hadolint --version or
docker run --rm ghcr.io/hadolint/hadolint hadolint --version:

Version 2.12.0

Additional environment details (OS, stack version, etc.)

Windows 11 with VSC using plugin version 1.1.2

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