Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline argument with a character preceded by the escape character causes linting range to be off #77

Closed
rcjsuen opened this issue Apr 6, 2020 · 0 comments
Assignees
Labels

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Apr 6, 2020

FROM alpine
COPY a b /di\
\
\r
$ docker build .
Sending build context to Docker daemon  38.15MB
Step 1/2 : FROM alpine
 ---> a187dde48cd2
Step 2/2 : COPY a b /di\r
When using COPY with more than one source file, the destination must be a directory and end with a /
$ docker run -v `pwd`/Dockerfile:/Dockerfile rcjsuen/dockerfile-utils lint /Dockerfile
Line: 2-3
COPY a b /di\
         ^^^^
\

Error: When using COPY with more than one source file, the destination must be a directory and end with a / or a \
@rcjsuen rcjsuen added the bug label Apr 6, 2020
@rcjsuen rcjsuen self-assigned this Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant