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

Ignore files in .dockerignore #384

Closed
hkrutzer opened this issue Oct 4, 2018 · 2 comments · Fixed by #394
Closed

Ignore files in .dockerignore #384

hkrutzer opened this issue Oct 4, 2018 · 2 comments · Fixed by #394
Assignees

Comments

@hkrutzer
Copy link

hkrutzer commented Oct 4, 2018

I am using Kaniko in Gitlab and Kaniko does not seem to use my .dockerignore. file. This means it's adding my Git repository to the image. Is it possible to make Kaniko ignore certain files?

@priyawadhwa
Copy link
Collaborator

Hey @hkrutzer , the :latest version of the kaniko image should support .dockerignore files now!

@hkrutzer
Copy link
Author

hkrutzer commented Nov 2, 2018

Amazing thank you!

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

Successfully merging a pull request may close this issue.

2 participants