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: remove unnecessary files from Docker build context #686

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schildbach
Copy link
Contributor

This removes hidden files (including the git configuration and history!) and the docker/compose files. These files are not needed for building and running and bloat the image, can leak sensitive information and invalidate the build cache.

Again, I tested this against my own installation.

This removes hidden files (including the git configuration and history!) and the docker/compose files.
These files are not needed for building and running and bloat the image, can leak sensitive information
and invalidate the build cache.
@schildbach
Copy link
Contributor Author

Rebased to current master.

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