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

dockerignore - ignore Windows build files #994

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

gesior
Copy link
Contributor

@gesior gesior commented Dec 16, 2024

Description

docker build . transfers all files from OTC directory into build container as "build context".
Only files listed in .dockerignore are skipped.

Behavior

Actual

If you build multiple targets in Visual Studio and using CMake (ex. in CLion IDE) and then run docker build .
It may transfer up to 17 GB of data ("transferring context: 16.75GB") into Docker container, before it even start build process.
On Windows it may take few minutes, because there is a problem with files transfer speed Windows -> Linux.

Expected

Only files required to build and run OTC should be transferred into container.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@mehah mehah merged commit faa1f74 into mehah:main Dec 16, 2024
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants