COPY with glob is incompatible with Docker #3069
Labels
area/dockerfile-command
For all bugs related to dockerfile file commands
cmd/copy
differs-from-docker
kind/bug
Something isn't working
priority/p0
Highest priority. Break user flow. We are actively looking at delivering it.
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
works-with-docker
Actual behavior
Given
COPY file_that_might_not_exis[t] /dest
Kaniko returns this error when the file does not exist
failed to get files used from context: copy failed: no source files specified
Expected behavior
Match current Docker behavior - when glob is used, COPY does not need to copy at least one file.
To Reproduce
Additional Information
Don't make the
known_hosts
file.Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: