Skip to content

DL3022 - COPY --from= when references an external image #197

@WTFKr0

Description

@WTFKr0

Hi,
Just fall into this

Expected behavior

COPY --from=myregistry/my/image:tag /binary /
should be correct

Actual behavior

Prompt a DL3022 error
COPY --from should reference a previously defined FROM alias

Output of hadolint --version

Haskell Dockerfile Linter v1.6.5-0-g933c2e2

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