sha256:852521f8bd43c2a1a8e70ecd284bd2c33df66b35fdb650cf28704652f3468228
Last pushed
about 20 hours by sbx
Type
Sandbox Kit
Manifest digest
sha256:852521f8bd43c2a1a8e70ecd284bd2c33df66b35fdb650cf28704652f3468228
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:
version:
default: 0.0.45
description: t3 release to install
pattern: ^[0-9]+\.[0-9]+\.[0-9]+$
buildArg: T3_VERSION