-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Kaniko cannot copy hidden directory #718
Comments
Thanks @achmudas. This has nothing to do the hidden file. I think the issue is the copy command
Even copying from a dir which was created in previous docker directives fails. The offending code is here kaniko/pkg/util/command_util.go Line 227 in c8fabdf
We need to account for sources which were created in previous docker directives if src dir is not found in the build context. |
This might be related to #742 |
Same issue here. To be sure I've removed the folder |
Hi @achmudas, Trying to docker build the Dockerfile you supplied fails as well:
Likewise, docker build on the example supplied by @tejal29 also fails on the COPY step:
|
Actual behavior
When building docker image Kaniko cannot copy hidden directory:
Expected behavior
It should see all the content in hidden directory and copy it to destination.
Additional Information
--- Jenkinsfile
gcr.io/kaniko-project/executor@sha256:7cb20b4b9b23f3f5997db20adc97c04889efaf1cd57bc00b87b9da9a1754b69f
The text was updated successfully, but these errors were encountered: