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

Honor .dockerignore file #12

Open
Ri0n opened this issue Sep 7, 2021 · 2 comments
Open

Honor .dockerignore file #12

Ri0n opened this issue Sep 7, 2021 · 2 comments

Comments

@Ri0n
Copy link

Ri0n commented Sep 7, 2021

Hi
I'm writing a rust application and start it both in a container and locally.
I added to .dockerignore file to not transfer target (local) into docker context and it seems to work well regular docker build, but with Dockerfile-plus it seems to transfer 5Gb context anyway.
Of course I can workaround this by explicitly setting the target directory for my local builds but it's a little inconvenient.

@jedzill4
Copy link

jedzill4 commented Oct 4, 2021

Same issue here, and I'm working on an ML project with +100gb of data

@sachdiSICKAG
Copy link

Yes, using INCLUDE+ the .dockerignore is ignored when transferring context. This causes massive build delays when there's large data in the repository or when using a .venv.

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

No branches or pull requests

3 participants