Skip to content

Commit 59cdc30

Browse files
authored
Fix build error (#1117)
1 parent 9a5135c commit 59cdc30

File tree

8 files changed

+1616
-7
lines changed

8 files changed

+1616
-7
lines changed

mcp_servers/github_official/.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ bin/
1717
.DS_Store
1818

1919
# binary
20-
github-mcp-server
21-
mcpcurl
22-
e2e.test
20+
/github-mcp-server
21+
/mcpcurl
22+
/e2e.test
2323

2424
.history
2525
conformance-report/

mcp_servers/github_official/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@ ARG VERSION="dev"
55
# Set the working directory
66
WORKDIR /build
77

8-
# Install git
9-
RUN apk add --no-cache git
10-
118
# Copy source code from the subdirectory (build context is repo root)
129
COPY mcp_servers/github_official/ .
1310

1411
# Build the server
15-
RUN CGO_ENABLED=0 go build -ldflags="-s -w -X main.version=${VERSION} -X main.commit=$(git rev-parse HEAD) -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
12+
RUN CGO_ENABLED=0 go build -ldflags="-s -w -X main.version=${VERSION}" \
1613
-o /bin/github-mcp-server ./cmd/github-mcp-server
1714

1815
# Make a stage to run the app

0 commit comments

Comments
 (0)