Repository navigation
Commit 5023061
refactor(runtime): retire Community image dependencies (#3386)
* feat(sandbox): default to official Alpine sandbox image
default_sandbox_image() now returns docker.io/library/alpine:3.22, a generic
version-qualified official image, so a fresh install no longer depends on the
community sandbox image catalog. All compute drivers (docker, podman,
kubernetes, vm) inherit this fallback.
Part of #3116.
Signed-off-by: Akram
Signed-off-by: Akram <[email protected]>
* feat(deploy): default deployment configs to the official Alpine sandbox image
Update the shared gateway default_image, Helm chart values, the standalone
Kubernetes manifest, and the dev gateway task scripts to use
docker.io/library/alpine:3.22 instead of the community base image, consistent
with default_sandbox_image(). GPU e2e image-build base is left unchanged (CUDA
needs a glibc base).
Part of #3116.
Signed-off-by: Akram
Signed-off-by: Akram <[email protected]>
* feat(driver): default to numeric non-root identity for USER-less images
With the default sandbox image now Alpine, images that declare no OCI USER
must start instead of being rejected. When the image declares no USER and
the policy requests none, the Podman and Docker drivers now supply a numeric
non-root identity (DEFAULT_SANDBOX_UID/GID = 1000) instead of rejecting,
matching the numeric-identity behavior of the Kubernetes and VM drivers. The
supervisor's resolved-identity path runs the sandbox as a synthesized
non-root account without the account existing in the image. Images that
declare a USER keep the OCI resolution path unchanged.
Part of #3116.
Signed-off-by: Akram <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
* test(conformance): use Alpine workload image
Signed-off-by: Evan Lezar <[email protected]>
* refactor(policy): drop community image /app path from default policy
The restrictive default policy granted read-only access to /app, a directory
that only existed in the community base image. A generic Alpine default has no
/app, so remove it. Landlock best-effort already ignores absent paths; this
just stops advertising a community-specific layout in the default.
Part of #3116.
Signed-off-by: Akram
Signed-off-by: Akram <[email protected]>
* docs(config): document Alpine default images
Signed-off-by: Evan Lezar <[email protected]>
* fix(podman): report early sandbox termination
Signed-off-by: Evan Lezar <[email protected]>
* fix(podman): initialize rootless workspace ownership
Signed-off-by: Evan Lezar <[email protected]>
* fix(sandbox): qualify NVIDIA Ubuntu default
Signed-off-by: Drew Newberry <[email protected]>
* fix(podman): initialize rootful default workspace
Signed-off-by: Drew Newberry <[email protected]>
* feat(sftp): add native sandbox adapter
Signed-off-by: Drew Newberry <[email protected]>
* fix(sftp): gate runtime helper support to Linux
Signed-off-by: Drew Newberry <[email protected]>
* fix(sftp): support standard OpenSSH file operations
Signed-off-by: Drew Newberry <[email protected]>
* fix(sftp): harden rename and special file handling
Signed-off-by: Drew Newberry <[email protected]>
* refactor(runtime): remove community image dependencies
Signed-off-by: Drew Newberry <[email protected]>
* test(e2e): build provider readiness tool fixture
Signed-off-by: Drew Newberry <[email protected]>
* fix(e2e): use a dedicated Noble fixture for Docker tests
Signed-off-by: Evan Lezar <[email protected]>
---------
Signed-off-by: Akram
Signed-off-by: Akram <[email protected]>
Signed-off-by: Evan Lezar <[email protected]>
Signed-off-by: Drew Newberry <[email protected]>
Co-authored-by: Evan Lezar <[email protected]>
Co-authored-by: Drew Newberry <[email protected]>1 parent 24706c1 commit 5023061
129 files changed
Lines changed: 2383 additions & 898 deletions
File tree
- .agents/skills
- helm-dev-environment
- update-docs
- .github/actions
- setup-e2e-kind
- setup-e2e-podman
- architecture
- crates
- openshell-cli/src
- openshell-conformance/src/scenarios
- openshell-core/src
- openshell-driver-docker/src
- openshell-driver-podman/src
- openshell-gateway/src
- openshell-isolation-interface
- src
- tests
- openshell-ocsf/tests
- openshell-policy/src
- openshell-sandbox-backend/src
- openshell-sandbox
- src
- openshell-sdk
- src
- openshell-server/src/compute
- openshell-supervisor-process/src
- openshell-tui/src
- deploy
- docker
- helm/openshell
- kube/manifests
- rpm
- docs
- about
- get-started
- tutorials
- providers
- reference
- sandboxes
- e2e
- configs/gateway
- docker
- gpu/images
- cuda-basic
- smoke-fail
- smoke-pass
- parity
- python
- rust
- src/harness
- tests
- examples
- agent-driven-policy-management
- multi-agent-notepad
- private-ip-routing
- spiffe-token-exchange-demo/podman
- nix/test-guest/provisioners/roles/gateway-podman/tasks
- providers
- python/openshell
- rfc/0003-gateway-configuration
- scripts/agents/gator
- prompts
- providers
- sdk
- go/openshell/v1
- typescript
- src
- skills
- generate-sandbox-policy
- openshell-cli
- tasks
- scripts
- tests/ansible/roles/openshell_gateway/templates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
0 commit comments