From 2fc9446687436534ad13e73d5e6b9e2ca6649768 Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Sun, 28 Dec 2025 22:55:38 -0600 Subject: [PATCH] Add .dockerignore and update .gitignore to include build artifacts, test binaries, and editor configuration files. --- .dockerignore | 37 +++++++++++++++++++++++++++++++++++++ .gitignore | 35 ++++++++++++++++++++++++++++------- 2 files changed, 65 insertions(+), 7 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..9a9edef --- /dev/null +++ b/.dockerignore @@ -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 + diff --git a/.gitignore b/.gitignore index eba3fa1..ace8b26 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,30 @@ -logs/ -*.log - -.env -.json - +# Build artifacts bin/ -examples/ \ No newline at end of file +# 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 \ No newline at end of file