Sign inSign up

docker/sbx-kit-grok-mixin:latest

Multi-platform
Manifest digest

sha256:4df9bfee6367fe941539dc2f23f93c1d270b15874d0d15b31c4d700805976070

Last pushed

9 days by cdupuis

Type

Sandbox Kit

Manifest digest

sha256:4df9bfee6367fe941539dc2f23f93c1d270b15874d0d15b31c4d700805976070

yaml
schemaVersion: "3"
displayName: Grok Build (mixin)
description: xAI's terminal-based coding agent as a mixin — the CLI in an overlay, with the xAI credential and the egress policy Grok's login and inference need. Layer it onto a shell base and run `grok`.
version: 1.0.34
kind: mixin
provides:
    - [email protected]
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        runtime:
            allow:
                - api.x.ai
                - auth.x.ai
                - cli-chat-proxy.grok.com
    - type: com.docker.sandbox/credential@1
      optional: true
      config:
        apiKey:
            inject:
                - domain: api.x.ai
                  format: Bearer %s
                  header: Authorization
            name: XAI_API_KEY
        phase: runtime
        service: xai
      description: xAI API access for Grok
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/grok-mixin/grok-mixin-context.md
args:
    version:
        default: 1.0.34
        description: Grok release to install
        pattern: ^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.]+)?$
        buildArg: GROK_VERSION