Skip to content

Commit d794f68

Browse files
committed
dockerignore: allowlist
1 parent 9b536bf commit d794f68

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

.dockerignore

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
# Ignore dockerfile so re-runs with dockerfile-only fixes don't rebuild
2-
**/Dockerfile
3-
**/target/
4-
**/*.img
5-
**/*.diff.craff
6-
.devcontainer.json
7-
# Don't add scripts so that builds dont have to rerun on script changes to those builds
8-
scripts
9-
target
10-
packages
1+
# Ignore everything
2+
*
3+
!examples/docker-example
4+
!examples/manual-example
5+
!examples/rsrc
6+
!examples/tutorials
7+
!harness
8+
!src
9+
!tests
10+
!.clang-format
11+
!.gitignore
12+
!.gitleaksignore
13+
!.pre-commit-config.yaml
14+
!build.rs
15+
!Cargo.toml
16+
!Cargo.lock
17+
!config-user.mk
18+
!rust-toolchain.toml

0 commit comments

Comments
 (0)