Sign inSign up

sbx/copilot-kit:20260820-745504d40a3fb464970835722823a87747feb97c

Manifest digest

sha256:b0bdefd8126b97a8dbdc8552ca5f42e5766b4f39ac84d37086cefee847ebcd0e

Last pushed

about 1 month by dockerpublicbot

Type

Sandbox Kit

Manifest digest

sha256:b0bdefd8126b97a8dbdc8552ca5f42e5766b4f39ac84d37086cefee847ebcd0e

yaml
schemaVersion: "2"
kind: sandbox
name: copilot
version: 1.0.0
displayName: GitHub Copilot
description: GitHub Copilot CLI, GitHub's agentic coding CLI.
sandbox:
    image: docker.io/sbx/copilot-image:latest
    entrypoint:
        - copilot
    command:
        default:
            - --yolo
        interactive:
            - --yolo
agentInstructions:
    filename: AGENTS.md
permissions:
    network:
        allow:
            - api.business.githubcopilot.com
            - api.enterprise.githubcopilot.com
            - api.github.com
            - api.githubcopilot.com
            - api.individual.githubcopilot.com
            - copilot.github.com
            - github.com
            - archive.ubuntu.com
            - security.ubuntu.com
            - ports.ubuntu.com
            - download.docker.com
credentials:
    - service: github
      apiKey:
        name: GH_TOKEN
        inject:
            - domain: api.github.com
              header: Authorization
              format: Bearer %s
            - domain: github.com
              header: Authorization
              format: Bearer %s
    - service: copilot
      apiKey:
        name: COPILOT_GITHUB_TOKEN
        inject:
            - domain: api.business.githubcopilot.com
              header: Authorization
              format: Bearer %s
            - domain: api.enterprise.githubcopilot.com
              header: Authorization
              format: Bearer %s
            - domain: api.githubcopilot.com
              header: Authorization
              format: Bearer %s
            - domain: api.individual.githubcopilot.com
              header: Authorization
              format: Bearer %s
            - domain: copilot.github.com
              header: Authorization
              format: Bearer %s
setup:
    install:
        - command: mkdir -p /home/agent/.copilot && chown agent:agent /home/agent/.copilot
          user: "0"
          description: Ensure .copilot is owned by agent before bind mounts and initFiles run
    startup:
        - command:
            - sh
            - -c
            - command -v apt-get > /dev/null 2>&1 && (apt-get update -qq -y > /dev/null 2>&1 || true) &
          user: root
          description: Update apt package cache in background
    files:
        - path: /home/agent/.copilot/config.json
          content: '{"trusted_folders": ["${WORKDIR}"]}'
          onlyIfMissing: true
          description: Copilot config with trusted workspace folder