mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
enhance(ux): able to push and pr directly in codex chat
This commit is contained in:
12
deps/workers/worker/Dockerfile.sandbox-agent
vendored
12
deps/workers/worker/Dockerfile.sandbox-agent
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user