Skip to content

Commit 55103e2

Browse files
barckcodeclaude
andcommitted
Add GitHub CLI to Agent Crew image
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d1bcfc9 commit 55103e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

agentcrew/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ RUN curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-${TARGETARCH}.tar.gz" -o
1212
&& tar -C /usr/local -xzf /tmp/go.tar.gz \
1313
&& rm /tmp/go.tar.gz
1414

15+
RUN curl -fsSL "https://cli.github.com/packages/githubcli-archive-keyring.gpg" \
16+
| dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
17+
&& chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
18+
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \
19+
> /etc/apt/sources.list.d/github-cli.list \
20+
&& apt-get update && apt-get install -y --no-install-recommends gh \
21+
&& rm -rf /var/lib/apt/lists/*
22+
1523
ENV PATH="/usr/local/go/bin:${PATH}"
1624
ENV GOPATH="/root/go"
1725
ENV PATH="${GOPATH}/bin:${PATH}"

0 commit comments

Comments
 (0)