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

Warn if ADD has more than two arguments and the last one is not a directory #17

Closed
rcjsuen opened this issue Feb 4, 2018 · 0 comments
Closed
Assignees

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Feb 4, 2018

FROM alpine
ADD x y z
$ docker build .
Sending build context to Docker daemon  1.695MB
Step 1/2 : FROM alpine
 ---> 3fd9065eaf02
Step 2/2 : ADD x y z
When using ADD with more than one source file, the destination must be a directory and end with a /

Same thing as #14 but for the ADD instruction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant