From 17aaf6fccfabb2085eaedf9483c74c88c337d4c9 Mon Sep 17 00:00:00 2001 From: Endial Fang Date: Tue, 20 Jan 2026 14:48:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20Submodule=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=B9=B6=E5=88=A0=E9=99=A4=E5=BA=9F?= =?UTF-8?q?=E5=BC=83=E7=9A=84=E8=84=9A=E6=9C=AC=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ci/common | 1 + .dockerignore | 54 +++++++++++++++++++++++++++++++++++++++++++++++---- .gitmodules | 3 +++ 3 files changed, 54 insertions(+), 4 deletions(-) create mode 160000 .ci/common create mode 100644 .gitmodules diff --git a/.ci/common b/.ci/common new file mode 160000 index 0000000..6e0b044 --- /dev/null +++ b/.ci/common @@ -0,0 +1 @@ +Subproject commit 6e0b04499e56e6dfec374994a82dfbfc29230042 diff --git a/.dockerignore b/.dockerignore index 4df4001..60a53ba 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,11 +1,57 @@ +# 忽略所有 .git 相关 .git .gitignore +.gitmodules +.gitattributes -./Makefile +# 忽略 IDE 和编辑器文件 +.idea/ +.vscode/ +*.iml +Thumbs.db +# 忽略本地依赖和构建缓存 +node_modules/ +__pycache__/ +*.pyc +.env +.env.* +secrets/ +config/local.* + +# 忽略日志和临时文件 +*.log +npm-debug.log* +yarn-error.log* + +# 忽略测试报告(除非需要) +coverage/ +htmlcov/ +.pytest_cache/ + +# 忽略 macOS 特有文件 +.DS_Store +.AppleDouble +.LSOverride +Icon? +._* +.Spotlight-V100 +.Trashes + +# 忽略构建产物(如果 Docker 内部会重新构建) +dist/ +build/ +out/ +target/ + +# 忽略项目特有文件及目录 +img +build.sh +LICENSE +README.md *.yml *.yaml -./LICENSE -./README.md -./img +# 忽略 AI 规则文件 +.lingma + diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a2aba7e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".ci/common"] + path = .ci/common + url = https://git.colovu.com/docker/common.git