-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy path.dockerignore
97 lines (82 loc) · 2.26 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
# Use a whitelist of files and directories for the top level directory.
# ignore everything initially
*
# keep some dot files
!.bash_completion
!.fetchmailrc.dist
!.mailfilter.dist
!.procmailrc.dist
!.screenrc
# keep some files from the top level
!AUTHORS.md
!CHANGES.md
!CONTRIBUTING.md
!COPYING-Third-Party
!cpanfile.docker
!cpanfile.docker.kerberos
!INSTALL.md
!LICENSE
!README.md
!RELEASE
!SECURITY.md
!UPDATING.md
# keep some dirs from the top level
!bin
!Custom
!doc
!Kernel
!scripts
# keep var but skip the files in var that might have been generated during development and testing
!var
var/httpd/htdocs/skins/Agent/*/css-cache/*
var/httpd/htdocs/js/js-cache/*
var/httpd/htdocs/SeleniumScreenshots
var/article/*
var/log/*
var/run/
var/sessions/*
var/spool/*
var/tmp/
# The dot files in the subdirectories are kept kept per default.
# The not wanted dot files are listed here explicitly.
# The .keep files force git to keep the directories, they are not needed in the image.
**/.keep
# ignore editor swap files and other temporary files
**/.#*
**/*.sw?
**/*~
# ignore files that are only needed only for building the docker image
bin/docker/build_docker_images.sh
bin/docker/lint_docker_files.sh
bin/docker/set_up_minio.sh
bin/devel
# ignore Config files that might have been added during development and testing
# ignore Config.pm.dist, as Config.pm.docker.dist is actually used
Kernel/Config.pm
Kernel/Config/Files/*.pm
Kernel/Config.pm.dist
Kernel/Config.pod
# ignore files only needed for Apache, see also Kernel::System::Environment where the ignored modules are special cased
scripts/apache*
bin/cgi-bin
Kernel/System/SupportDataCollector/Plugin/Webserver/Apache
# no need for cronjobs in Docker image
var/cron
bin/Cron.sh
# in case somebody generated keys or certificates,
# but keep the sample files needed for the unit tests
**/*.cert
**/*.crt
!scripts/test/sample/SMIME/SMIME*.crt
**/*.csr
**/*.key
!scripts/test/sample/SMIME/SMIME*.key
**/*.pem
!Kernel/cpan-lib/Mozilla/CA/cacert.pem
!scripts/test/sample/SMIME/SMIME*.pem
!scripts/test/sample/SSL/*.pem
**/*.chain
# do not keep temporary files from Perl module installation
Kernel/cpan-lib/local
# The Photoshop source file, the *.psd files, are not needed in the Docker image
./var/httpd/htdocs/skins/Agent/default/img/source/