mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-15 20:15:43 +00:00
feat(paseo): install the gh CLI
Debian does not package gh, so use GitHub's signed apt repo. Config lands in /home/paseo/.config/gh, inside the paseo-home volume, so the login survives a redeploy.
This commit is contained in:
1 parent
341469ff43
commit
6590c59f40
2 files changed
+18
-5
No files matched your search
@@ -11,3 +11,14 @@
|
||||
FROM ghcr.io/getpaseo/paseo:latest
|
||||
|
||||
RUN npm install -g @anthropic-ai/claude-code
|
||||
|
||||
# gh is not in the Debian repos, so pull it from GitHub's own signed one.
|
||||
RUN install -d -m 0755 /etc/apt/keyrings \
|
||||
&& curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
|
||||
-o /etc/apt/keyrings/githubcli-archive-keyring.gpg \
|
||||
&& chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
|
||||
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \
|
||||
> /etc/apt/sources.list.d/github-cli.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends gh \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
Reference in new issue
Block a user