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

exclude more paths in .dockerignore #967

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

bcressey
Copy link
Contributor

@bcressey bcressey commented Jul 4, 2020

Issue number:
N/A

Description of changes:
Update .dockerignore to account for the revamp of the build output directory structure.

Testing done:
Verified that selinux-policy no longer shows 30 GB of context transferred for every build. Build time reduced from 3 minutes to 20 seconds.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Otherwise many unnecessary build artifacts are sent as context.

Signed-off-by: Ben Cressey <[email protected]>
Copy link
Contributor

@zmrow zmrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌯

@bcressey bcressey merged commit 8bc3157 into bottlerocket-os:develop Jul 7, 2020
@bcressey bcressey deleted the fix-dockerignore branch July 10, 2020 16:19
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.

4 participants