# The build context is browser/. The Dockerfile does `COPY . /app` and then
# runs `make setup-minimal` inside the image, so everything the build system
# itself needs (Makefile, upstream.sh, multibuild.py, scripts/, patches/,
# additions/, settings/, assets/, bundle/) must stay in the context. This file
# only drops things the in-image build never reads. See #698.

# Build outputs and any locally extracted Firefox tree. camoufox-*/ in
# particular is a full mozilla-central checkout; shipping it into the context
# can add tens of GB and it is regenerated by `make setup-minimal` anyway.
/camoufox-*
/firefox-*
/mozilla-unified
/windows-build
dist/
bin/
launch
launch.exe
_bisect_extract/
*.so

# Dependency trees that are reinstalled in-image
node_modules/
venv/
.venv/
__pycache__/
*.pyc

# Local scratch, logs, editor state
*.log
wget-log
*.kate-swp
*.old
_old/
_old_*/
.vscode
.idea
.DS_Store
.DS_store

# Secrets must never enter a build context
.env
.passwd
*.pem
private
closedsrc
proxies.txt

# Test harnesses -- the container's entrypoint is multibuild.py, which never
# runs these. Removing them also keeps tests/build-tester/node_modules out.
tests/
