Os
Linux .dockerignore
.dockerignore for os projects
.dockerignore Content
# ============================================================================
# Created by https://dockerignore.com/
# OPERATING SYSTEM TEMPLATE for Linux
# Website: https://www.linux.org/
# Repository: https://github.com/ronald2wing/.dockerignore
# ============================================================================
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: OPERATING SYSTEM TEMPLATE
# • PURPOSE: Linux-specific ignore patterns
# • DESIGN PHILOSOPHY: Contains only Linux-specific patterns
# • COMBINATION GUIDANCE: Combine with framework/language templates as needed
# • SECURITY CONSIDERATIONS: Does NOT include security patterns (use common/security.dockerignore)
# • BEST PRACTICES: Follow technology-specific security guidelines
# • OFFICIAL SOURCES: Linux system administration best practices
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# BUILD ARTIFACTS AND OUTPUT
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Linux-specific output files
.logout
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# CACHE AND TEMPORARY FILES
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Linux temporary files
*.temp
*.tmp
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# LINUX-SPECIFIC PATTERNS
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Linux-specific files and directories
*.swo
*.swp
*~
.bash_history
.bashrc
.cshrc
.fish_history
.fishrc
.history
.login
.profile
.zsh_history
.zshrc
~$*