Add .dockerignore and update .gitignore to include build artifacts, test binaries, and editor configuration files.

This commit is contained in:
2025-12-28 22:55:38 -06:00
parent 49aee4818b
commit 2fc9446687
2 changed files with 65 additions and 7 deletions

37
.dockerignore Normal file
View File

@@ -0,0 +1,37 @@
# Binaries and build folders
bin/
*.exe
*.dll
*.so
*.dylib
# Go modules' cache
/pkg/
vendor/
# Local test/coverage/log artifacts
*.test
*.out
*.log
logs/
coverage.out
# Environment and secret files
.env
# User/IDE/Editor config
.idea/
.vscode/
*.swp
.DS_Store
Thumbs.db
# Example and generated files
examples/
*.json
# SBOM and analysis artifacts
bom.json
dependency-results.sbom.json
*.sbom.json

35
.gitignore vendored
View File

@@ -1,9 +1,30 @@
logs/
*.log
.env
.json
# Build artifacts
bin/
examples/
# Test coverage reports
coverage.out
# Log files
*.log
logs/
# Local environment variables
.env
# JSON assets and auto-generated exports
*.json
# Example files, not adding them just yet.
examples/
# OS / Editor files
.DS_Store # macOS Finder metadata
Thumbs.db # Windows Explorer thumbnail cache
# IDE / Editor config directories
.idea/ # JetBrains IDEs
.vscode/ # Visual Studio Code
# Swap and test binaries
*.swp # Swap files (e.g. vim)
*.test # Go test binaries