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

Minimize Docker build context #217

Merged
merged 1 commit into from
May 17, 2017
Merged

Minimize Docker build context #217

merged 1 commit into from
May 17, 2017

Conversation

SISheogorath
Copy link
Contributor

As currently the whole directory is sent to the docker socket including the .git directory the build context keeps growing with every commit.

As the Dockerfile downloads everything from external sources ignore the whole repository besides the Dockerfile itself, minimized the build context sent to docker.sock from >80MB to 3.072 kB.

@mauricio
Copy link
Contributor

Thanks @SISheogorath !

@mauricio mauricio merged commit 000bd6a into digitalocean:master May 17, 2017
@SISheogorath SISheogorath deleted the patch-1 branch May 17, 2017 17:55
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