COPY fails when multiple files are copied to path specified in ENV #2946
Labels
area/dockerfile-command
For all bugs related to dockerfile file commands
cmd/copy
kind/bug
Something isn't working
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
Actual behavior
When I RUN
Kaniko fails with
error building image: error building stage: failed to get files used from context: when specifying multiple sources in a COPY command, destination must be a directory and end in '/'
Expected behavior
COPY copies the files to the target directory
To Reproduce
Steps to reproduce the behavior:
See actual behaviour
Additional Information
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: