Languages

Zig .dockerignore

.dockerignore for languages projects

View on GitHub

.dockerignore Content

# ============================================================================
# Created by https://dockerignore.com/
# LANGUAGE-SPECIFIC TEMPLATE for Zig
# Website: https://ziglang.org/
# Repository: https://github.com/ziglang/zig
# ============================================================================

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: LANGUAGE-SPECIFIC TEMPLATE
# • PURPOSE: Zig-specific patterns for Docker builds
# • DESIGN PHILOSOPHY: Contains only Zig language artifacts (no security patterns)
# • COMBINATION GUIDANCE: Combine with common templates for complete coverage
# • SECURITY CONSIDERATIONS: Security patterns not included (use common/security.dockerignore)
# • BEST PRACTICES: Always combine with security template for production use
# • OFFICIAL SOURCES: Zig community patterns and Docker best practices

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# BUILD ARTIFACTS & OUTPUT
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

**/out/
**/test-output/
**/zig-out/
build.zig
build.zig.zon

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# TESTING & COVERAGE
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

.coverage

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# ZIG LANGUAGE PATTERNS
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

**/*.dSYM/
**/.bun/
**/.bun/cache/
**/.bun/install/
**/.deno/
**/.deno/gen/
**/.deno_cache/
**/.deno_dir/
**/.zig/
**/_site/
**/api-docs/
**/apidoc/
**/dependencies/
**/deps/
**/gen/
**/generated/
**/html-report/
**/site/
**/vendor/
**/zig-cache/
**/zig/
*.a
*.debug
*.dwarf
*.generated.*
*.generated.zig
*.lib
*.o
*.obj
*.pdb
*.test
*.test.*
*.wasm
*.zig.bak
*.zig.old
*.zon
deno.lock
zig.lock
zig.mod

Note: This file is fetched from GitHub and cached for 7 days.