-
Notifications
You must be signed in to change notification settings - Fork 1k
/
.dockerignore
4008 lines (2985 loc) · 84.5 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#
# Author: Hari Sekhon
# Date: Tue Sep 12 13:06:25 2017 +0200
#
# vim: filetype=conf
#
# ============================================================================ #
# . d o c k e r i g n o r e
# ============================================================================ #
# https://docs.docker.com/engine/reference/builder/#dockerignore-file
# =================================================
# Don't send things you don't need to Docker server and avoid uploading your secrets / keys!!
#
# XXX: RULES:
# - .dockerignore must be at top-level root context from which you invoke 'docker build'
# - unfortunately .dockerignore doesn't match basenames like .gitignore so you need to prefix **/ for recursive matching to be safe
# - Last Match Wins - you must put more specific whitelisting matches after the general exclusion pattern
# ====================================================================
# Smaller more concise .dockerignore files are found in the builds at:
#
# https://github.com/HariSekhon/Dockerfiles
# =========================================================
# This is a huge list of exclusions which covers most cases
#
# XXX: Best Practice - enable '*' ignore and create short concise whitelist of inclusions
#
# *
#
# Second option is to rely on this pretty extensive blacklist, which excludes most known credentials files, all hidden dot files and major RCS repos like Git / Mercurial / Subversion
#
# Sloppy Docker builds which do 'COPY/ADD .' are a ** Security Risk ** - see Dockerfiles repo's tests/ which checks for their existence in all Dockerfile's
#
# https://github.com/HariSekhon/Dockerfiles
# *
# =========================================================================================
# Whitelist - must come after the more general blacklist pattern * above as Last Match Wins
#
# always include package.json and requirements.txt for standard dependency installations on NodeJS and Python
!package.json
!requirements.txt
!LICENSE
# ===============
# Docker specific
# still sent to the daemon as needed to do the job but aren't included in the image by ADD/COPY . commands
**/Dockerfile
**/.dockerignore
**/docker-compose.yml
**/.gitignore
**/.gcloudignore
**/.ssh/
# don't accidentally publish your whole code base via Docker like Twitter Vine did!!
**/.git/
**/.svn/
**/.hg/
**/git/
**/github/
**/gitolite*/
**/gitroot/
**/mercurial/
**/hg/
**/hgroot/
**/svn/
**/svnroot/
**/node_modules/
**/dist/
**/fatpacks/
**/logs/
**/vendor/
**/vagrant/
**/venv/
**/wordlists/
**/pytools_checks/
**/debs/
**/rpms/
**/drive/
**/Google Drive/
**/Dropbox/
# XXX: don't include any hidden files unless we explicitly override and include them with a !.filename
**/.*
# don't include CI configs not covered by ignoring dotfiles
**/Jenkinsfile
**/azure-pipelines.y*ml
**/bitbucket-pipelines.y*ml
**/buddy.y*ml
**/codefresh.y*ml
**/shippable.y*ml
**/wercker.y*ml
**/gocd_config_repo.json
**/jenkins-job.xml
**/hadolint.y*ml
**/scalastyle_config.xml
**/yamllint/
# contains webhook URL which should not be committed publicly
**/buildkite-pipeline*.json
# leave our README.md in case we want to include it in the image but filter out other .md files
*.md
!README.md
# ========================================
# Based on the massive adjacent .gitignore, modified for Docker ignore's Go filepath.Match() function
*#*#
**/*.a
**/*.avi
**/*.bak
**/*.bak.*
**/*.bin
**/*.bkp
**/*.class
**/*.dump
**/*.flv
**/*.kdb
**/*.lock
**/*.log
**/*.macports-saved_*
**/*.mp3
**/*.mp4
**/*.mpeg
**/*.mpg
**/*.o
**/*.orig
**/*.out
**/*.part
**/*.pyc
**/*.pyo
**/*.stderr
**/*.stdout
**/*.swo
**/*.swp
**/*.tmp
**/*.wmv
**/*~
**/tmp.*
**/~*
**/*.doc
**/*.docx
**/*.msg
**/*.pages
**/*.ppt
**/*.pptx
**/*.rtf
**/*.wpd
**/*.wps
**/*.xls
**/*.xlsx
# ============================================================================ #
#
# regenerate all sections below in to a single arg for API call via:
#
# grep '[C]reated by https://' .dockerignore | sed 's,.*/,,' | tr ',' '\n' | sort -u | tr '\n' ',' | sed 's/,$//' | xargs echo gitignore.io_api.sh
#
# then pipe through perl to add recursive prefix '**/':
#
# gitignore.io_api.sh ansible,apachehadoop,appcode,appengine,archive,archives,archlinuxpackages,audio,autotools,backup,basic,bittorrent,c,c++,certificates,chefcookbook,clojure,cloud9,cmake,code,code-java,codeblocks,compressed,compressedarchive,compression,data,database,datarecovery,diff,direnv,diskimage,docfx,docpress,docz,dotenv,dotfilessh,dotsettings,dropbox,eclipse,emacs,erlang,executable,firebase,flask,git,gitbook,go,gpg,gradle,grails,groovy,grunt,haskell,helm,homebrew,hugo,images,intellij,intellij+all,intellij+iml,java,java-web,jenv,jetbrains,jetbrains+all,jetbrains+iml,jmeter,julia,jupyternotebooks,kotlin,lamp,latex,less,linux,lua,macos,matlab,maven,mercurial,microsoftoffice,node,octave,osx,packer,patch,perl,perl6,phpunit,powershell,puppet,putty,pycharm,pycharm+all,pycharm+iml,pydev,python,r,rails,react,reactnative,redis,root,ruby,rust,sbt,scala,serverless,sonar,sonarqube,spark,splunk,spreadsheet,ssh,sublimetext,svn,terraform,terragrunt,tortoisegit,vagrant,venv,virtualenv,visualstudio,visualstudiocode,vs,vscode,vue,vuejs,waf,windows,xcode,xcodeinjection,zsh | perl -p -e 's/^([^#\s\/])/**\/$1/; s/^\//**\//' >> .dockerignore
#
# Find new or missing tags you aren't using yet:
#
# grep '[C]reated by https://' .dockerignore | sed 's,.*/,,' | tr ',' '\n' | sort -u | tr '\n' ',' | sed 's/,$//' | gitignore.io_api.sh missing
#
# ============================================================================ #
# Created by https://www.toptal.com/developers/gitignore/api/ansible,apachehadoop,appcode,appengine,archive,archives,archlinuxpackages,audio,autotools,backup,basic,bittorrent,c,c++,certificates,chefcookbook,clojure,cloud9,cmake,code,code-java,codeblocks,compressed,compressedarchive,compression,data,database,datarecovery,diff,direnv,diskimage,docfx,docpress,docz,dotenv,dotfilessh,dotsettings,dropbox,eclipse,emacs,erlang,executable,firebase,flask,git,gitbook,go,gpg,gradle,grails,groovy,grunt,haskell,helm,homebrew,hugo,images,intellij,intellij+all,intellij+iml,java,java-web,jenv,jetbrains,jetbrains+all,jetbrains+iml,jmeter,julia,jupyternotebooks,kotlin,lamp,latex,less,linux,lua,macos,matlab,maven,mercurial,microsoftoffice,node,octave,osx,packer,patch,perl,perl6,phpunit,powershell,puppet,putty,pycharm,pycharm+all,pycharm+iml,pydev,python,r,rails,react,reactnative,redis,root,ruby,rust,sbt,scala,serverless,sonar,sonarqube,spark,splunk,spreadsheet,ssh,sublimetext,svn,terraform,terragrunt,tortoisegit,vagrant,venv,virtualenv,visualstudio,visualstudiocode,vs,vscode,vue,vuejs,waf,windows,xcode,xcodeinjection,zsh
# Edit at https://www.toptal.com/developers/gitignore?templates=ansible,apachehadoop,appcode,appengine,archive,archives,archlinuxpackages,audio,autotools,backup,basic,bittorrent,c,c++,certificates,chefcookbook,clojure,cloud9,cmake,code,code-java,codeblocks,compressed,compressedarchive,compression,data,database,datarecovery,diff,direnv,diskimage,docfx,docpress,docz,dotenv,dotfilessh,dotsettings,dropbox,eclipse,emacs,erlang,executable,firebase,flask,git,gitbook,go,gpg,gradle,grails,groovy,grunt,haskell,helm,homebrew,hugo,images,intellij,intellij+all,intellij+iml,java,java-web,jenv,jetbrains,jetbrains+all,jetbrains+iml,jmeter,julia,jupyternotebooks,kotlin,lamp,latex,less,linux,lua,macos,matlab,maven,mercurial,microsoftoffice,node,octave,osx,packer,patch,perl,perl6,phpunit,powershell,puppet,putty,pycharm,pycharm+all,pycharm+iml,pydev,python,r,rails,react,reactnative,redis,root,ruby,rust,sbt,scala,serverless,sonar,sonarqube,spark,splunk,spreadsheet,ssh,sublimetext,svn,terraform,terragrunt,tortoisegit,vagrant,venv,virtualenv,visualstudio,visualstudiocode,vs,vscode,vue,vuejs,waf,windows,xcode,xcodeinjection,zsh
### Ansible ###
**/*.retry
### ApacheHadoop ###
**/*.iml
**/*.ipr
**/*.iws
**/*.orig
**/*.rej
**/.idea
**/.svn
**/.classpath
**/.project
**/.settings
**/target
**/hadoop-common-project/hadoop-kms/downloads/
**/hadoop-hdfs-project/hadoop-hdfs/downloads
**/hadoop-hdfs-project/hadoop-hdfs-httpfs/downloads
**/hadoop-common-project/hadoop-common/src/test/resources/contract-test-options.xml
**/hadoop-tools/hadoop-openstack/src/test/resources/contract-test-options.xml
### AppCode ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff
**/.idea/**/workspace.xml
**/.idea/**/tasks.xml
**/.idea/**/usage.statistics.xml
**/.idea/**/dictionaries
**/.idea/**/shelf
# Generated files
**/.idea/**/contentModel.xml
# Sensitive or high-churn files
**/.idea/**/dataSources/
**/.idea/**/dataSources.ids
**/.idea/**/dataSources.local.xml
**/.idea/**/sqlDataSources.xml
**/.idea/**/dynamic.xml
**/.idea/**/uiDesigner.xml
**/.idea/**/dbnavigator.xml
# Gradle
**/.idea/**/gradle.xml
**/.idea/**/libraries
# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr
# CMake
**/cmake-build-*/
# Mongo Explorer plugin
**/.idea/**/mongoSettings.xml
# File-based project format
# IntelliJ
**/out/
# mpeltonen/sbt-idea plugin
**/.idea_modules/
# JIRA plugin
**/atlassian-ide-plugin.xml
# Cursive Clojure plugin
**/.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
**/com_crashlytics_export_strings.xml
**/crashlytics.properties
**/crashlytics-build.properties
**/fabric.properties
# Editor-based Rest Client
**/.idea/httpRequests
# Android studio 3.1+ serialized cache file
**/.idea/caches/build_file_checksums.ser
### AppCode Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr
# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint
**/.idea/**/sonarlint/
# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
**/.idea/**/sonarIssues.xml
# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
**/.idea/**/markdown-navigator.xml
**/.idea/**/markdown-navigator-enh.xml
**/.idea/**/markdown-navigator/
# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257
**/.idea/$CACHE_FILE$
# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
**/.idea/codestream.xml
### AppEngine ###
# Google App Engine generated folder
**/appengine-generated/
### Archive ###
### Mostly from https://en.wikipedia.org/wiki/List_of_archive_formats
## Archiving only
# The traditional archive format on Unix-like systems, now used mainly for the creation of static libraries.
**/*.a
**/*.ar
# RPM files consist of metadata concatenated with (usually) a cpio archive. Newer RPM systems also support other archives, as cpio is becoming obsolete. cpio is also used with initramfs.
**/*.cpio
# A self-extracting archive that uses the Bourne shell (sh).
**/*.shar
# A system for storing multiple files. LBR archives typically contained files processed by SQ, or the archive itself was compressed with SQ. LBR archives that were compressed with SQ ended with the extension .LQR
**/*.LBR
# An archive format originally used mainly for archiving and distribution of the exact, nearly-exact, or custom-modified contents of an optical storage medium such as a CD-ROM or DVD-ROM. However, it can be used to archive the contents of other storage media, selected partitions, folders, and/or files. The resulting archive is typically optimized for convenient rendering to (re-)writable CD or DVD media.
**/*.iso
# A library format used primarily on the Commodore 64 and 128 lines of computers. This bears no resemblance to the DOS LBR format. While library files were quick to implement (a number of programs exist to work with them) they are crippled in that they cannot grow with use: once a file has been created it cannot be amended (files added, changed or deleted) without recreating the entire file.
**/*.lbr
# An archive format used by Mozilla for storing binary diffs. Used in conjunction with bzip2.
**/*.mar
# A common archive format used on Unix-like systems. Generally used in conjunction with compressors such as gzip, bzip2, compress or xz to create .tar.gz, .tar.bz2, .tar.Z or tar.xz files.
**/*.tar
# Package managers
# Red Hat Package Manager
**/*.rpm
# Debian package
**/*.deb
# MicroSoft Installer
**/*.msi
**/*.msm
**/*.msp
# Mozilla package installer
**/*.xpi
# Ruby Package
**/*.gem
### Archives ###
# It's better to unpack these files and commit the raw source because
# git has its own built in compression methods.
**/*.7z
**/*.jar
**/*.rar
**/*.zip
**/*.gz
**/*.gzip
**/*.tgz
**/*.bzip
**/*.bzip2
**/*.bz2
**/*.xz
**/*.lzma
**/*.cab
**/*.xar
# Packing-only formats
# Package management formats
**/*.dmg
**/*.egg
**/*.txz
### ArchLinuxPackages ###
**/*.tar.*
**/*.exe
**/*.log
**/*.log.*
**/*.sig
**/pkg/
**/src/
### Audio ###
**/*.aif
**/*.iff
**/*.m3u
**/*.m4a
**/*.mid
**/*.mp3
**/*.mpa
**/*.ra
**/*.wav
**/*.wma
**/*.ogg
**/*.flac
### Autotools ###
# http://www.gnu.org/software/automake
**/Makefile.in
**/ar-lib
**/mdate-sh
**/py-compile
**/test-driver
**/ylwrap
**/.deps/
# http://www.gnu.org/software/autoconf
**/autom4te.cache
**/autoscan.log
**/autoscan-*.log
**/aclocal.m4
**/compile
**/config.guess
**/config.h.in
**/config.log
**/config.status
**/config.sub
**/configure
**/configure.scan
**/depcomp
**/install-sh
**/missing
**/stamp-h1
# https://www.gnu.org/software/libtool/
**/ltmain.sh
# http://www.gnu.org/software/texinfo
**/texinfo.tex
# http://www.gnu.org/software/m4/
**/m4/libtool.m4
**/m4/ltoptions.m4
**/m4/ltsugar.m4
**/m4/ltversion.m4
**/m4/lt~obsolete.m4
# Generated Makefile
# (meta build system like autotools,
# can automatically generate from config.status script
# (which is called by configure script))
**/Makefile
### Autotools Patch ###
### Backup ###
**/*.bak
**/*.gho
**/*.ori
**/*.tmp
### Basic ###
# Apples Build
**/*.build
**/*.apples
# Initialized files
**/*.ini
**/*.basic
### BitTorrent ###
**/*.torrent
### C ###
# Prerequisites
**/*.d
# Object files
**/*.o
**/*.ko
**/*.obj
**/*.elf
# Linker output
**/*.ilk
**/*.map
**/*.exp
# Precompiled Headers
**/*.gch
**/*.pch
# Libraries
**/*.lib
**/*.la
**/*.lo
# Shared objects (inc. Windows DLLs)
**/*.dll
**/*.so
**/*.so.*
**/*.dylib
# Executables
**/*.out
**/*.app
**/*.i*86
**/*.x86_64
**/*.hex
# Debug files
**/*.dSYM/
**/*.su
**/*.idb
**/*.pdb
# Kernel Module Compile Results
**/*.mod*
**/*.cmd
**/.tmp_versions/
**/modules.order
**/Module.symvers
**/Mkfile.old
**/dkms.conf
### C++ ###
# Prerequisites
# Compiled Object files
**/*.slo
# Precompiled Headers
# Compiled Dynamic libraries
# Fortran module files
**/*.mod
**/*.smod
# Compiled Static libraries
**/*.lai
# Executables
### Zsh ###
# Zsh compiled script + zrecompile backup
**/*.zwc
**/*.zwc.old
# Zsh completion-optimization dumpfile
**/*zcompdump*
# Zsh zcalc history
**/.zcalc_history
# A popular plugin manager's files
**/._zplugin
**/.zplugin_lstupd
# zdharma/zshelldoc tool's files
**/zsdoc/data
# robbyrussell/oh-my-zsh/plugins/per-directory-history plugin's files
# (when set-up to store the history in the local directory)
**/.directory_history
# MichaelAquilina/zsh-autoswitch-virtualenv plugin's files
# (for Zsh plugins using Python)
**/.venv
# Zunit tests' output
**/tests/_output/*
**/!/tests/_output/.gitkeep
### certificates ###
**/*.pem
**/*.key
**/*.crt
**/*.cer
**/*.priv
### ChefCookbook ###
**/.vagrant
**/cookbooks
# Bundler
**/bin/*
**/.bundle/*
**/.kitchen/
**/.kitchen.local.yml
**/.kitchen.*.local.yml
**/kitchen.local.yml
**/kitchen.*.local.yml
### CMake ###
**/CMakeLists.txt.user
**/CMakeCache.txt
**/CMakeFiles
**/CMakeScripts
**/Testing
**/cmake_install.cmake
**/install_manifest.txt
**/compile_commands.json
**/CTestTestfile.cmake
**/_deps
### CMake Patch ###
# External projects
**/*-prefix/
### Clojure ###
**/pom.xml
**/pom.xml.asc
**/*.class
**/lib/
**/classes/
**/target/
**/checkouts/
**/.lein-deps-sum
**/.lein-repl-history
**/.lein-plugins/
**/.lein-failures
**/.nrepl-port
**/.cpcache/
### Code-Java ###
# Language Support for Java(TM) by Red Hat extension for Visual Studio Code - https://marketplace.visualstudio.com/items?itemName=redhat.java
**/factoryConfiguration.json
### Cloud9 ###
# Cloud9 IDE - http://c9.io
**/.c9revisions
**/.c9
### Compressed ###
**/*.pkg
**/*.sit
**/*.sitx
**/*.zipx
### CompressedArchive ###
## Archiving and compression
# Open source file format. Used by 7-Zip.
# Mac OS X, restoration on different platforms is possible although not immediate Yes Based on 7z. Preserves Spotlight metadata, resource forks, owner/group information, dates and other data which would be otherwise lost with compression.
**/*.s7z
# Old archive versions only Proprietary format
**/*.ace
# A format that compresses and doubly encrypt the data (AES256 and CAS256) avoiding brute force attacks, also hide files in an AFA file. It has two ways to safeguard data integrity and subsequent repair of the file if has an error (repair with AstroA2P (online) or Astrotite (offline)).
**/*.afa
# A mainly Korean format designed for very large archives.
**/*.alz
# Android application package (variant of JAR file format).
**/*.apk
# ??
**/*.arc
# Originally DOS, now multiple
**/*.arj
# Open archive format, used by B1 Free Archiver (http://dev.b1.org/standard/archive-format.html)
**/*.b1
# Binary Archive with external header
**/*.ba
# Proprietary format from the ZipTV Compression Components
**/*.bh
# The Microsoft Windows native archive format, which is also used by many commercial installers such as InstallShield and WISE.
# Originally DOS, now DOS and Windows Created by Yaakov Gringeler; released last in 2003 (Compressia 1.0.0.1 beta), now apparently defunct. Free trial of 30 days lets user create and extract archives; after that it is possible to extract, but not to create.
**/*.car
# Open source file format.
**/*.cfs
# Compact Pro archive, a common archiver used on Mac platforms until about Mac OS 7.5.x. Competed with StuffIt; now obsolete.
**/*.cpt
# Windows, Unix-like, Mac OS X Open source file format. Files are compressed individually with either gzip, bzip2 or lzo.
**/*.dar
# DiskDoubler Mac OS obsolete
**/*.dd
# ??
**/*.dgc
# Apple Disk Image upports "Internet-enabled" disk images, which, once downloaded, are automatically decompressed, mounted, have the contents extracted, and thrown away. Currently, Safari is the only browser that supports this form of extraction; however, the images can be manually extracted as well. This format can also be password-protected or encrypted with 128-bit or 256-bit AES encryption.
# Enterprise Java Archive archive
**/*.ear
# ETSoft compressed archive
# The predecessor of DGCA.
**/*.gca
# Originally DOS Yes, but may be covered by patents DOS era format; uses arithmetic/Markov coding
**/*.ha
# MS Windows HKI
**/*.hki
# Produced by ICEOWS program. Excels at text file compression.
**/*.ice
# Java archive, compatible with ZIP files
# Open sourced archiver with compression using the PAQ family of algorithms and optional encryption.
**/*.kgb
# Originally DOS, now multiple Multiple Yes The standard format on Amiga.
**/*.lzh
**/*.lha
# Archiver originally used on The Amiga. Now copied by Microsoft to use in their .cab and .chm files.
**/*.lzx
# file format from NoGate Consultings, a rival from ARC-Compressor.
**/*.pak
# A disk image archive format that supports several compression methods as well as splitting the archive into smaller pieces.
**/*.partimg
# An experimental open source packager (http://mattmahoney.net/dc)
**/*.paq*
# Open source archiver supporting authenticated encryption, volume spanning, customizable object level and volume level integrity checks (form CRCs to SHA-512 and Whirlpool hashes), fast deflate based compression
**/*.pea
# The format from the PIM - a freeware compression tool by Ilia Muraviev. It uses an LZP-based compression algorithm with set of filters for executable, image and audio files.
**/*.pim
# PackIt Mac OS obsolete
**/*.pit
# Used for data in games written using the Quadruple D library for Delphi. Uses byte pair compression.
**/*.qda
# A proprietary archive format, second in popularity to .zip files.
# The format from a commercial archiving package. Odd among commercial packages in that they focus on incorporating experimental algorithms with the highest possible compression (at the expense of speed and memory), such as PAQ, PPMD and PPMZ (PPMD with unlimited-length strings), as well as a proprietary algorithms.
**/*.rk
# Self Dissolving ARChive Commodore 64, Commodore 128 Commodore 64, Commodore 128 Yes SDAs refer to Self Dissolving ARC files, and are based on the Commodore 64 and Commodore 128 versions of ARC, originally written by Chris Smeets. While the files share the same extension, they are not compatible between platforms. That is, an SDA created on a Commodore 64 but run on a Commodore 128 in Commodore 128 mode will crash the machine, and vice versa. The intended successor to SDA is SFX.
**/*.sda
# A pre-Mac OS X Self-Extracting Archive format. StuffIt, Compact Pro, Disk Doubler and others could create .sea files, though the StuffIt versions were the most common.
**/*.sea
# Scifer Archive with internal header
**/*.sen
# Commodore 64, Commodore 128 SFX is a Self Extracting Archive which uses the LHArc compression algorithm. It was originally developed by Chris Smeets on the Commodore platform, and runs primarily using the CS-DOS extension for the Commodore 128. Unlike its predecessor SDA, SFX files will run on both the Commodore 64 and Commodore 128 regardless of which machine they were created on.
**/*.sfx
# An archive format designed for the Apple II series of computers. The canonical implementation is ShrinkIt, which can operate on disk images as well as files. Preferred compression algorithm is a combination of RLE and 12-bit LZW. Archives can be manipulated with the command-line NuLib tool, or the Windows-based CiderPress.
**/*.shk
# A compression format common on Apple Macintosh computers. The free StuffIt Expander is available for Windows and OS X.
# The replacement for the .sit format that supports more compression methods, UNIX file permissions, long file names, very large files, more encryption options, data specific compressors (JPEG, Zip, PDF, 24-bit image, MP3). The free StuffIt Expander is available for Windows and OS X.
# A royalty-free compressing format
**/*.sqx
# The "tarball" format combines tar archives with a file-based compression scheme (usually gzip). Commonly used for source and binary distribution on Unix-like platforms, widely available elsewhere.
**/*.tar.gz
**/*.tar.Z
**/*.tar.bz2
**/*.tbz2
**/*.tar.lzma
**/*.tlz
# UltraCompressor 2.3 was developed to act as an alternative to the then popular PKZIP application. The main feature of the application is its ability to create large archives. This means that compressed archives with the UC2 file extension can hold almost 1 million files.
**/*.uc
**/*.uc0
**/*.uc2
**/*.ucn
**/*.ur2
**/*.ue2
# Based on PAQ, RZM, CSC, CCM, and 7zip. The format consists of a PAQ, RZM, CSC, or CCM compressed file and a manifest with compression settings stored in a 7z archive.
**/*.uca
# A high compression rate archive format originally for DOS.
**/*.uha
# Web Application archive (Java-based web app)
**/*.war
# File-based disk image format developed to deploy Microsoft Windows.
**/*.wim
# XAR
# Native format of the Open Source KiriKiri Visual Novel engine. Uses combination of block splitting and zlib compression. The filenames and pathes are stored in UTF-16 format. For integrity check, the Adler-32 hashsum is used. For many commercial games, the files are encrypted (and decoded on runtime) via so-called "cxdec" module, which implements xor-based encryption.
**/*.xp3
# Yamazaki zipper archive. Compression format used in DeepFreezer archiver utility created by Yamazaki Satoshi. Read and write support exists in TUGZip, IZArc and ZipZag
**/*.yz1
# The most widely used compression format on Microsoft Windows. Commonly used on Macintosh and Unix systems as well.
# application/x-zoo zoo Multiple Multiple Yes
**/*.zoo
# Journaling (append-only) archive format with rollback capability. Supports deduplication and incremental update based on last-modified dates. Multi-threaded. Compresses in LZ77, BWT, and context mixing formats. Open source.
**/*.zpaq
# Archiver with a compression algorithm based on the Burrows-Wheeler transform method.
**/*.zz
### Compression ###
### From https://en.wikipedia.org/wiki/List_of_archive_formats
## Compression only
# An open source, patent- and royalty-free compression format. The compression algorithm is a Burrows-Wheeler transform followed by a move-to-front transform and finally Huffman coding
# Old compressor for QNX4 OS. The compression algorithm is a modified LZSS, with an adaptive Huffman coding.
**/*.F
# GNU Zip, the primary compression format used by Unix-like systems. The compression algorithm is DEFLATE.
# An alternate LZMA algorithm implementation, with support for checksums and ident bytes.
**/*.lz
# The LZMA compression algorithm as used by 7-Zip
# An implementation of the LZO data compression algorithm
**/*.lzo
# A compression program designed to do particularly well on very large files containing long distance redundancy.
**/*.rz
# Windows compress/decompress- Linux and Mac OS X decompress only A compression program designed to do high compression on SF2 files (SoundFont)
**/*.sfark
# A compression format invented by Google and open-sourced in 2011. Snappy aims for very high speeds, reasonable compression, and maximum stability rather than maximum compression or compatibility with any other compression library.
**/*.sz
# Squeeze: A program which compressed files. A file which was "squeezed" had the middle initial of the name changed to "Q", so that a squeezed text file would end with .TQT, a squeezed executable would end with .CQM or .EQE. Typically used with .LBR archives, either by storing the squeezed files in the archive, or by storing the files decompressed and then compressing the archive, which would have a name ending in ".LQR".
**/*.?Q?
# A compression program written by Steven Greenberg implementing the LZW algorithm. For several years in the CP/M world when no implementation was available of ARC, CRUNCHed files stored in .LBR archives were very popular. CRUNCH's implementation of LZW had a somewhat unique feature of modifying and occasionally clearing the code table in memory when it became full, resulting in a few percent better compression on many files.
**/*.?Z?
# A compression format using LZMA2 to yield very high compression ratios.
# The traditional Huffman coding compression format.
**/*.z
# The traditional LZW compression format.
**/*.Z
# Joke compression program, actually increasing file size
**/*.infl
# Compression format(s) used by some DOS and Windows install programs. MS-DOS includes expand.exe to decompress its install files. The compressed files are created with a matching compress.exe command. The compression algorithm is LZSS.
**/*.??_
### Data ###
**/*.csv
**/*.dat
**/*.efx
**/*.gbr
**/*.pps
**/*.ppt
**/*.pptx
**/*.sdf
**/*.tax2010
**/*.vcf
**/*.xml
### Code ###
**/.vscode/*
**/!.vscode/settings.json
**/!.vscode/tasks.json
**/!.vscode/launch.json
**/!.vscode/extensions.json
**/*.code-workspace
### DataRecovery ###
## Data recovery
# File format used by dvdisaster to be used for data recovery when discs become damaged or partially unreadable.
**/*.ecc
# File format used in conjunction with any archive format to provide redundancy and data recovery, most often in newsgroup distribution of binary files.
**/*.par
**/*.par2
### Diff ###
**/*.patch
**/*.diff
### direnv ###
**/.direnv
**/.envrc
### CodeBlocks ###
# specific to CodeBlocks IDE
**/*.layout
**/*.depend
# generated directories
**/bin/
**/obj/
### DocFx ###
**/.cache
**/**/_site/
### Docpress ###
# docpress documentation generator: https://docpress.github.io/index.html
**/_docpress/
### Docz ###
**/.docz
### dotenv ###
**/.env
### DotfilesSh ###
**/local-patch
**/patched-src
### DotSettings ###
**/*.DotSettings
### Dropbox ###
# Dropbox settings and caches
**/.dropbox
**/.dropbox.attr
**/.dropbox.cache
### Eclipse ###
**/.metadata
**/tmp/
**/*.swp
**/*~.nib
**/local.properties
**/.settings/
**/.loadpath
**/.recommenders
# External tool builders
**/.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
**/*.launch
# PyDev specific (Python IDE for Eclipse)
**/*.pydevproject
# CDT-specific (C/C++ Development Tooling)
**/.cproject
# CDT- autotools
**/.autotools
# Java annotation processor (APT)
**/.factorypath
# PDT-specific (PHP Development Tools)
**/.buildpath
# sbteclipse plugin
**/.target
# Tern plugin
**/.tern-project
# TeXlipse plugin
**/.texlipse
# STS (Spring Tool Suite)
**/.springBeans
# Code Recommenders
**/.recommenders/
# Annotation Processing
**/.apt_generated/
**/.apt_generated_test/
# Scala IDE specific (Scala & Java development for Eclipse)
**/.cache-main
**/.scala_dependencies
**/.worksheet
# Uncomment this line if you wish to ignore the project description file.
# Typically, this file would be tracked if it contains build/dependency configurations:
#.project
### Eclipse Patch ###
# Spring Boot Tooling
**/.sts4-cache/
### Emacs ###
# -*- mode: gitignore; -*-
**/*~
**/\#*\#
**/.emacs.desktop
**/.emacs.desktop.lock
**/*.elc
**/auto-save-list
**/tramp
**/.\#*
# Org-mode
**/.org-id-locations
**/*_archive
# flymake-mode
**/*_flymake.*
# eshell files
**/eshell/history
**/eshell/lastdir
# elpa packages
**/elpa/
# reftex files
**/*.rel
# AUCTeX auto folder
**/auto/
# cask packages
**/.cask/
**/dist/
# Flycheck
**/flycheck_*.el
# server auth directory
**/server/
# projectiles files
**/.projectile
# directory configuration
**/.dir-locals.el
# network security
**/network-security.data
### Database ###
**/*.accdb
**/*.db
**/*.dbf
**/*.mdb
**/*.sqlite3
### Executable ###
**/*.bat
**/*.cgi
**/*.com
**/*.gadget
**/*.pif