1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# =============================================================================
# Docker ignore file
# Exclude files that shouldn't be in the Docker build context
# =============================================================================
# Git
.git
.gitignore
.gitattributes
# GitHub
.github
# IDE and editor files
.idea
.vscode
*.swp
*.swo
*~
.DS_Store
# Rust build artifacts (we build fresh in Docker)
target
**/*.rs.bk
Cargo.lock.bak
# Documentation (not needed in image)
*.md
!README.md
docs
# CI/CD
.travis.yml
.gitlab-ci.yml
azure-pipelines.yml
Jenkinsfile
# Release/deployment scripts
deployment
*.sh
!docker-entrypoint.sh
# Test files
tests
benches
examples
# Config files not needed in build
.releaserc.json
.editorconfig
.pre-commit-config.yaml
rustfmt.toml
clippy.toml
deny.toml
# Docker files (prevent recursive inclusion)
Dockerfile*
docker-compose*.yml
.dockerignore
# License (embedded in binary metadata)
LICENSE