File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ COPY shell/ ./shell/
1313# Build the binary
1414RUN CGO_ENABLED=0 GOOS=linux go build -o shell-mcp-server ./shell/
1515
16- # Final stage - use Debian instead of Alpine for glibc compatibility
17- FROM debian:bookworm-slim
18-
16+ FROM ubuntu
1917# Install required runtime dependencies
2018RUN apt-get update && apt-get install -y --no-install-recommends \
2119 ca-certificates \
@@ -27,13 +25,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2725 && rm -rf /var/lib/apt/lists/*
2826
2927# Install GitHub CLI
30- RUN (type -p wget >/dev/null || (apt-get update && apt-get install wget -y)) \
31- && mkdir -p -m 755 /etc/apt/keyrings \
32- && out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \
33- && cat $out | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
34- && chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
35- && mkdir -p -m 755 /etc/apt/sources.list.d \
36- && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
28+ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0 \
29+ && apt-add-repository https://cli.github.com/packages \
3730 && apt-get update \
3831 && apt-get install gh -y \
3932 && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments