enhance(ux): able to push and pr directly in codex chat

This commit is contained in:
Tienson Qin
2026-02-28 00:07:14 +08:00
parent c8ecc7d191
commit 96829c97ad
3 changed files with 95 additions and 19 deletions

View File

@@ -24,6 +24,18 @@ RUN ARCH="$(dpkg --print-architecture)" \
&& node --version \
&& npm --version
# GitHub CLI
RUN mkdir -p /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 \
&& gh --version \
&& rm -rf /var/lib/apt/lists/*
# Prefer corepack over "npm i -g yarn"
RUN corepack enable
# Optionally pin yarn (pick a version you want)