-
Notifications
You must be signed in to change notification settings - Fork 3
/
.dockerignore
110 lines (93 loc) · 2.1 KB
/
.dockerignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#
# NOTE! This docker ignore uses recommended technique
# Where everything is excluded by default and you deliberately
# Add only those directories/files you need. This is very useful
# To make sure that Docker context is always the same on any machine
# So that generated files are not accidentally added to the context
# This allows Docker's `COPY .` to behave in predictable way
# Ignore everything
**
# Allow only these directories
# Add those folders to the context so that they are available in the CI container
!scripts/in_container
!scripts/docker
!scripts/build.sh
# Add provider packages to the context
!provider_packages
# Add tests and kubernetes_tests to context.
!tests
!kubernetes_tests
!.coveragerc
!.rat-excludes
!.flake8
!.dockerignore
!pylintrc
!pylintrc-tests
!pytest.ini
!CHANGELOG.txt
!LICENSE
!MANIFEST.in
!NOTICE
!.github
!empty
!requirements.txt
!requirements.dev.txt
!poetry.lock
!pyproject.toml
!src/dbgen/cli/
!src/dbgen/*.py
!src/dbgen/git_version
!src/dbgen/utils/
!src/dbgen
!src/dbgen/core/
!src/dbgen/example/
!src/dbgen/templates/
!tests
!dist/*
!docker/config/*
# This folder is for you if you want to add any packages to the docker context when you build your own
# docker image. most of other files and any new folder you add will be excluded by default
# if you need other types of files - please add the extensions here.
!docker-context-fil
!README.md
# Run tests command with bash completion
!.bash_completion
!.bash_completion.d
# Setup/version configuration
!setup.cfg
# !setup.py
!manifests
# Now - ignore unnecessary files inside allowed directories
# This goes after the allowed directories
# Exclude python generated files
**/__pycache__/
**/*.py[cod]
**/*$py.class
**/.pytest_cache/
**/.mypy_cache/
**/env/
**/build/
**/develop-eggs/
**/downloads/
**/eggs/
**/.eggs/
**/lib/
**/lib64/
**/parts/
**/sdist/
**/var/
**/wheels/
**/*.egg-info/
**/.installed.cfg
**/*.egg
# Exclude temporary vi files
**/*~
# Exclude output files
**/*.out
**/hive_scratch_dir/
# Exclude auto-generated Finder files on Mac OS
**/.DS_Store
**/Thumbs.db
# Exclude docs generated files
docs/_build/
docs/_api/