Files
OpenShell/deploy/docker/sandbox/Dockerfile.nvidia
T
Drew Newberry 07b5ddac33 feat(cluster): speed up local deploy loop with incremental change tracking (!53)
## Summary
- Track last deployed local changes and only redeploy new deltas in auto mode.
- Add per-component fingerprints (server/sandbox/helm) persisted to .cache/cluster-deploy-fast.state.
- Update docs for the new incremental deploy behavior.

```
mise run cluster

....

________________________________________________________
Executed in   75.21 secs      fish           external
   usr time  578.03 millis    0.25 millis  577.78 millis
   sys time  364.45 millis    1.22 millis  363.22 millis
```

with a change to `navigator-sandbox` (triggers rust recompile)

```
⟩ time mise run cluster:deploy
[cluster:deploy] $ build/scripts/cluster-deploy-fast.sh
Change detection took 0s
Fast deploy plan:
  build server:  0
  build sandbox: 1
  helm upgrade:  1

...

________________________________________________________
Executed in   25.88 secs      fish           external
   usr time  618.91 millis    0.24 millis  618.67 millis
   sys time  557.71 millis    1.54 millis  556.18 millis



```

(most time is spent in docker build)

## Test Plan
- mise run pre-commit
2026-02-25 08:34:43 -08:00

18 lines
565 B
Docker

# syntax=docker/dockerfile:1.4
# NVIDIA GPU-enabled sandbox variant
#
# Inherits from the base sandbox image and adds NVIDIA GPU tooling.
# Build with: docker-build-component.sh sandbox nvidia
#
# TODO: Add NVIDIA-specific layers (CUDA toolkit, cuDNN, GPU drivers, etc.)
ARG BASE_IMAGE=navigator/sandbox:dev
FROM ${BASE_IMAGE}
# Placeholder: add NVIDIA GPU packages and configuration here.
# Example layers to add:
# - CUDA toolkit and runtime libraries
# - cuDNN
# - NVIDIA Container Toolkit integration
# - GPU-accelerated Python packages (torch, etc.)