# Build context exclusions for demo/Dockerfile, which uses the
# repository root as its context (it needs tools/direct-qemu/
# generate-tls.sh and, by default, the checkout itself).
#
# Two reasons to keep this tight. The context is transferred on every
# build, and it participates in the BuildKit cache key for the bind
# mount, so a stray build artefact causes a spurious cache miss on the
# expensive pip layer.
#
# .git is deliberately NOT excluded: a KERBSIDE_SOURCE=/src build fails
# without it, because setuptools_scm derives the version from it.
#
# demo/.proxy-wheel/ is deliberately NOT excluded either: it holds the
# proxy wheel tools/demo/pair-proxy.sh builds when the checkout's proto
# has moved, and the image's pip step reads it through the /src mount.

.tox/
.venv/
venv/
build/
dist/
*.egg-info/
**/__pycache__/
*.py[cod]

# Rust build output, which is large and irrelevant to the Python image.
rust/target/

# Test fixtures, including guest disk images.
tests/fixtures/*.qcow2
tests/fixtures/*.img

# Written by demo/get-console.sh. Note that demo/ itself must stay in
# the context: the Dockerfile COPYs entrypoint.sh, demo-env.sh and
# kerbside-demo-env out of it.
demo/demo-console.vv
