Sign inSign up

docker/sbx-kit-t3code:0.0.42

Multi-platform
Manifest digest

sha256:c3dbdf4c3a6a91e79b6a559f4101ea276c31574c27dd15f8e13d0f9c96141b21

Last pushed

9 days by cdupuis

Type

Sandbox Kit

Manifest digest

sha256:c3dbdf4c3a6a91e79b6a559f4101ea276c31574c27dd15f8e13d0f9c96141b21

yaml
schemaVersion: "3"
displayName: T3 Code
description: Build toolchain and the t3 npm package that T3 Code's SSH integration needs to run inside a sandbox — node-pty, a t3 dependency, has no Linux prebuilt binaries and must compile from source.
version: 0.0.42
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
                export DEBIAN_FRONTEND=noninteractive
                apt-get update
                apt-get install -y g++ make python3
                rm -rf /var/lib/apt/lists/*
              description: Install the build toolchain node-pty needs to compile from source on Linux
              user: "0"
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/t3code/t3code-context.md
args:
    version:
        default: 0.0.42
        description: t3 release to install
        pattern: ^[0-9]+\.[0-9]+\.[0-9]+$
        buildArg: T3_VERSION