-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #579 from aiven/chore/optimize-container-build
Optimize container build time
- Loading branch information
Showing
7 changed files
with
86 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
# Ignoring files that are specific to a given checkout, these change based on | ||
# the user commands and not on the repository history. They are not important | ||
# to determine the state of the repository and would invalidate the cache | ||
# layer. | ||
# | ||
# - .git/logs/HEAD - command history | ||
# - .git/index - binary file for the current index, very important for a | ||
# working repository, not interesting for our image | ||
# | ||
.git/logs/HEAD | ||
.git/index | ||
# Ignore everything by default. Making as few files as possible part of default context | ||
# ensures only relevant changes will evict layer cache. | ||
* | ||
|
||
# Include source directories and files required for building. | ||
!karapace | ||
!requirements/*.txt | ||
!setup.py | ||
!version.py | ||
!README.rst | ||
!container/start.sh | ||
!container/healthcheck.py | ||
|
||
# Ignore some files in source directories. | ||
**/.DS_Store | ||
**/Thumbs.db | ||
**/*.pyc | ||
**/*.pyo | ||
**/__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters