Adds .dockerignore file to limit size of podman image context

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Ibadbe86370be7d0afccaf8960baaac03bd4eac63
This commit is contained in:
Jiri Podivin 2021-03-05 13:40:25 +01:00
parent 129ce2d8bc
commit 96bdba4bba
1 changed files with 55 additions and 0 deletions

55
.dockerignore Normal file
View File

@ -0,0 +1,55 @@
# Docker/Podman image doesn't need any files that git doesn't track.
#Therefore the .dockerignore largely follows the structure of .gitignore.
# C extensions
*.so
# Packages
*.egg*
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
# Installer logs
pip-log.txt
# Unit test / coverage reports
cover/
.coverage*
!.coveragerc
.tox
nosetests.xml
.testrepository
.venv
.stestr/*
# Translations
*.mo
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
# Complexity
output/*.html
output/*/index.html
# Sphinx
doc/build
doc/source/reference/api/
# pbr generates these
AUTHORS
ChangeLog
# Editors
*~
.*.swp
.*sw?
# Files created by releasenotes build
releasenotes/build
# Ansible specific
hosts
*.retry
#Vagrantfiles, since we are using docker
Vagrantfile.*