Skip to content

.dockerignore: remove unnecessary files from Docker build context#686

Open
schildbach wants to merge 1 commit into
janoside:masterfrom
schildbach:dockerignore
Open

.dockerignore: remove unnecessary files from Docker build context#686
schildbach wants to merge 1 commit into
janoside:masterfrom
schildbach:dockerignore

Conversation

@schildbach

Copy link
Copy Markdown
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
Copy Markdown
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