cocoon/.dockerignore
xfy911 2c5538bea1
Some checks failed
CI / build (push) Failing after 17s
fix: 修复带宽限速合并后遗留的编译与测试问题 + 新增 Docker 多阶段构建
- Makefile: 4 个单元测试规则缺失 throttle.c(test_websocket/test_grpc/test_http3/test_acme)
- test_acme_config.c: config_merge 调用缺少 has_throttle_conn_rate / has_throttle_global_rate
- test_config.c: 5 处 config_merge 调用同步补齐 throttle 参数
- 新增 Dockerfile: debian bookworm-slim 多阶段构建,最终镜像约 50MB
- 新增 .dockerignore: 排除构建产物和开发文件
- 编译验证:零警告(仅外部 coco 库 GNU-stack linker 提示)
- 单元测试:480 个全部通过 ✓(1 个 Ignored 为预期行为)
2026-06-16 18:26:06 +08:00

36 lines
271 B
Plaintext

# Git
.git
.gitignore
.gitmodules
# 构建产物
*.o
*.a
*.so
cocoon
tests/unit/test_*
# IDE
.vscode
.idea
*.swp
*.swo
# 日志
*.log
logs/
# 临时文件
*.tmp
*.bak
# Docker 自身
Dockerfile
.dockerignore
# 文档
README.md
# 测试(运行时不需)
tests/