sha256:5ca54a6cb55a5c2f26fed9aee4046e95562d7b3f4e2430dca672ff17555f0e09
Last pushed
about 7 hours by sbx
Type
Sandbox Kit
Manifest digest
sha256:5ca54a6cb55a5c2f26fed9aee4046e95562d7b3f4e2430dca672ff17555f0e09
schemaVersion: "3"
displayName: T3 Code
description: Installs the t3 npm package that T3 Code's SSH integration runs inside a sandbox, so the first connection starts a pre-installed server.
version: 0.0.45
kind: mixin
provides:
- [email protected]
capabilities:
- type: com.docker.sandbox/network-policy@1
config:
install:
allow:
- archive.ubuntu.com
- security.ubuntu.com
- ports.ubuntu.com
- download.docker.com
- type: com.docker.sandbox/lifecycle@1
config:
install:
- command: |
set -euo pipefail
if ldconfig -p 2>/dev/null | grep -q 'libatomic\.so\.1'; then
echo "libatomic1 already present on the base image"
exit 0
fi
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y --no-install-recommends libatomic1
rm -rf /var/lib/apt/lists/*
description: Install libatomic1 when the base image lacks it; t3's prebuilt binaries link against it
user: "0"
- type: com.docker.sandbox/agent-context@1
config:
contentFile: /usr/share/sandbox/kit/t3code/t3code-context.md
args:
telemetry:
default: "false"
description: 'Whether the t3 server inside the sandbox sends anonymous usage telemetry. Off by default: the sandbox proxy blocks the telemetry host unless it is allowed, and a server that cannot reach it keeps retrying. Set to true to opt in, and allow us.i.posthog.com:443 in the sandbox''s network policy.'
enum:
- "true"
- "false"
env: T3CODE_TELEMETRY_ENABLED
version:
default: 0.0.45
description: t3 release to install
pattern: ^[0-9]+\.[0-9]+\.[0-9]+$
buildArg: T3_VERSION