Files
oh-my-pi/.dockerignore
T
can1357 ad318c7572 build: configured docker build pipelines for cargo native addons
- Switched Docker images to build native addons via cargo/napi-rs (`OMP_NATIVE_BUILD_BACKEND=cargo`) instead of Bazel.
- Updated Cargo.toml workspace members explicitly to prevent loading errors from stale directories under crates/.
- Added depth-agnostic patterns to .dockerignore files to exclude nested build outputs from Docker build contexts.
- Added OMP_NATIVE_CARGO_PROFILE environment variable to support configuring cargo profiles for addon builds.
2026-08-14 07:09:48 +02:00

79 lines
1.7 KiB
Plaintext

# Default build context filter, used by every build whose Dockerfile has no
# `<dockerfile>.dockerignore` shadow next to it — today the install smokes in
# scripts/install-tests (`podman build -f scripts/install-tests/*.dockerfile .`).
# The pi and robomp images shadow this file with Dockerfile.dockerignore and
# Dockerfile.robomp.dockerignore; keep the three roughly in sync.
#
# Patterns are depth-agnostic (`**/`) to match .gitignore semantics: dockerignore
# anchors a bare `target/` at the context root only, so nested build dirs
# (go-port/*/target, packages/*/dist) otherwise ride along — gigabytes per build.
# Heavy build outputs.
**/target/
bazel-*
**/node_modules
**/dist/
runs/
.xwin-cache/
packages/coding-agent/binaries/
packages/natives/npm/
packages/natives/native/.build/
**/.cache/
packages/snapcompact/research/results/
# Host-built addons: every image that needs one compiles it from source.
**/*.node
# Per-host scratch the pi codebase uses for parallel agents / worktrees.
.fallow/
.worktrees/
.wt/
.opencode/
.pi_config/
.omp/plugins/
# VCS, editors, IDEs.
.git/
.npm/
.vscode/
.zed/
.idea/
# OS + transient noise.
.DS_Store
*.swp
*.swo
*~
*.tmp
# Logs + profiling artifacts.
*.log
*.cpuprofile
*.heapprofile
*.heapsnapshot
CPU.*
# Build / test side outputs.
**/*.tsbuildinfo
**/coverage/
.nyc_output/
**/__pycache__/
compaction-results/
changes/
# Generated, regenerated in-image.
packages/ai/test/.temp-images/
python/omp-rpc/src/omp_rpc.egg-info/
python/robomp/data/
python/robomp/.cache/
python/robomp/src/robomp/static/
python/robomp/web/dist/
# Scratch files the repo creates ad-hoc.
syntax.jsonl
out.jsonl
out.html
pi-*.html
# Secrets. Should never be in an image regardless.
.env