-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
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" ]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.