Skip to content

ghcr.io/github/copilot-cli image does not exist #897

@Lauszus

Description

@Lauszus

The backend-services.md docs are referring to a ghcr.io/github/copilot-cli: https://github.com/github/copilot-sdk/blob/main/docs/setup/backend-services.md#step-1-start-the-cli-in-headless-mode

But the image does not exist.

For now I have just bundled copilot-cli using my own Dockerfile:

# syntax=docker/dockerfile:1
# hadolint global ignore=DL3007,DL3008

FROM ubuntu:latest

RUN apt-get update && apt-get install -y --no-install-recommends \
    ca-certificates \
    wget \
    && rm -rf /var/lib/apt/lists/*

ARG COPILOT_VERSION=1.0.7
RUN ARCH="$(dpkg --print-architecture)" \
    && case "${ARCH}" in \
        amd64) COPILOT_ARCH="x64" ;; \
        arm64) COPILOT_ARCH="arm64" ;; \
        *) echo "Unsupported architecture: ${ARCH}" && exit 1 ;; \
    esac \
    && wget -q "https://github.com/github/copilot-cli/releases/download/v${COPILOT_VERSION}/copilot-linux-${COPILOT_ARCH}.tar.gz" \
    && tar -xzf "copilot-linux-${COPILOT_ARCH}.tar.gz" \
    && mv copilot /usr/local/bin/ \
    && rm "copilot-linux-${COPILOT_ARCH}.tar.gz"

ENTRYPOINT [ "copilot" ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions