forked from labgrid-project/labgrid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a dockerignore file instructs docker to skip copying several unnecessary files and directories into the docker image. Aside from prevented unnecessary image bloat, it also improves image build caching since the skipped files are the ones likely to change between builds. The .git directory is excluded, which means that the labgrid version must be passed as a build argument since it cannot be determined by setup.py automatically. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
- Loading branch information
Showing
5 changed files
with
43 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
*.pyc | ||
*__pycache__ | ||
*console_main | ||
.*.swp | ||
.cache | ||
/MANIFEST | ||
.tox | ||
/.#tox.ini | ||
/.eggs/README.txt | ||
*.egg | ||
*.egg-info | ||
/venv* | ||
/build | ||
/doc/.build | ||
/doc/modules | ||
/.coverage | ||
/dist | ||
/.pytest_cache/ | ||
/htmlcov/ | ||
/.idea | ||
*/__pycache__ | ||
|
||
/dockerfiles/ | ||
!/dockerfiles/exporter/entrypoint.sh | ||
.git/ |
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