Sign inSign up

sbx/copilot-kit:20260817-29cb871b5ae3854048e6d7deb75631efa2a0c39a

Manifest digest

sha256:5b0403b35cc6ca65f897886a51451c155b9c7b7060c7490f79c30ee06e320847

Last pushed

about 1 month by dockerpublicbot

Type

Sandbox Kit

Manifest digest

sha256:5b0403b35cc6ca65f897886a51451c155b9c7b7060c7490f79c30ee06e320847

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