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

Add .dockerignore to reduce size of resulting images #6296

Merged
merged 1 commit into from
Jul 31, 2017

Conversation

tduffield
Copy link
Contributor

Signed-off-by: Tom Duffield tom@chef.io

Description

Our container image does not require any files from the local path. This PR adds a .dockerignore file that will ensure none of the local system files get copied over to the container image when it is built. This should reduce the size of the resulting container image.

Check List

Copy link
Contributor

@thommay thommay left a comment

Choose a reason for hiding this comment

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

maybe stick a comment in that we mean to be ignoring everything?

Signed-off-by: Tom Duffield <tom@chef.io>
@tduffield tduffield force-pushed the tdufifeld/dockerignore branch from 0236222 to 80e5b5f Compare July 27, 2017 16:28
@thommay thommay merged commit ad4061c into master Jul 31, 2017
@tas50 tas50 deleted the tdufifeld/dockerignore branch August 11, 2017 22:12
@chef chef locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants