Skip to content

False positive DL3021  #749

@Stikus

Description

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

Expected behavior

COPY mod/build-prereq.sh mod/requirements.txt "$SOFT/deepvariant-$DV_VERSION-src/"
should work because last argument ends with / inside quotes

Actual behavior

It throws error:
Dockerfile:48 DL3021 error: COPY with more than 2 arguments requires the last argument to end with /

Looks like it doesn't consider quotes because
COPY mod/build-prereq.sh mod/requirements.txt $SOFT/deepvariant-${DV_VERSION}-src/ is not throwing errors.

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