fix: update Dockerfiles for upstream changes and build fixes

- gitea-mcp, mcp-grafana: bump Go from 1.24 to 1.26 (upstream go.mod
  now requires >= 1.26.x)
- proxmox-mcp: constrain requires-python to >=3.10 for fastmcp compat
- elasticsearch-mcp: add missing vendor repo to CloneVendorRepos.sh
  (elastic/mcp-server-elasticsearch)
- context7-mcp: add .npmrc to disable pnpm v10 strict built-deps check
- drawio-mcp: exclude dev-proxy package from build (upstream TS errors),
  build with pnpm v10 + .npmrc
- discourse-mcp, ghidra-mcp: remain blocked (upstream issues)
This commit is contained in:
2026-07-30 15:47:30 -05:00
parent b595e26d62
commit 4ad44bbe9d
6 changed files with 17 additions and 7 deletions
+4 -2
View File
@@ -1,13 +1,15 @@
FROM node:22-alpine FROM node:22-alpine
# Install pnpm for monorepo # Install pnpm
RUN npm install -g pnpm RUN npm install -g pnpm
WORKDIR /app WORKDIR /app
COPY package.json pnpm-lock.yaml ./ COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile # Disable strict built-dependencies check (pnpm v10 exits on ignored builds)
RUN echo "strict-built-dependencies=false" > .npmrc && \
pnpm install --frozen-lockfile
COPY . . COPY . .
+7 -3
View File
@@ -7,10 +7,14 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./ COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile # Disable strict built-dependencies check (pnpm v10 exits on ignored builds)
RUN echo "strict-built-dependencies=false" > .npmrc && \
pnpm install --no-frozen-lockfile
COPY . . COPY . .
RUN pnpm run build # Build all packages except dev-proxy (has upstream TS errors).
# Plugin must be built before server (server copies plugin output).
RUN pnpm -r --filter '!drawio-mcp-dev-proxy' build
CMD ["node", "build/index.js"] CMD ["node", "packages/drawio-mcp-server/build/index.js"]
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.24-alpine AS builder FROM golang:1.26-alpine AS builder
WORKDIR /app WORKDIR /app
+1 -1
View File
@@ -1,4 +1,4 @@
FROM golang:1.24-alpine AS builder FROM golang:1.26-alpine AS builder
WORKDIR /app WORKDIR /app
+3
View File
@@ -12,6 +12,9 @@ COPY . .
# Replace mcp git dependency with fastmcp from PyPI # Replace mcp git dependency with fastmcp from PyPI
RUN sed -i 's|"mcp @ git+https://github.com/modelcontextprotocol/python-sdk.git"|"fastmcp"|' pyproject.toml RUN sed -i 's|"mcp @ git+https://github.com/modelcontextprotocol/python-sdk.git"|"fastmcp"|' pyproject.toml
# Fix requires-python for fastmcp compatibility (needs >=3.10)
RUN sed -i 's/requires-python = ">=3.9"/requires-python = ">=3.10"/' pyproject.toml
# Patch imports to use fastmcp instead of mcp.server.fastmcp # Patch imports to use fastmcp instead of mcp.server.fastmcp
RUN find . -name "*.py" -exec sed -i 's/from mcp\.server\.fastmcp/from fastmcp/g' {} \; RUN find . -name "*.py" -exec sed -i 's/from mcp\.server\.fastmcp/from fastmcp/g' {} \;
+1
View File
@@ -91,6 +91,7 @@ clone_repo "gitea-mcp" "https://gitea.com/gitea/gitea-mcp.git"
clone_repo "limesurvey-mcp" "https://github.com/TonisOrmisson/limesurvey-mcp.git" clone_repo "limesurvey-mcp" "https://github.com/TonisOrmisson/limesurvey-mcp.git"
clone_repo "linkwarden-mcp-server" "https://github.com/irfansofyana/linkwarden-mcp-server.git" clone_repo "linkwarden-mcp-server" "https://github.com/irfansofyana/linkwarden-mcp-server.git"
clone_repo "firefly-iii-mcp" "https://github.com/etnperlong/firefly-iii-mcp.git" clone_repo "firefly-iii-mcp" "https://github.com/etnperlong/firefly-iii-mcp.git"
clone_repo "mcp-server-elasticsearch" "https://github.com/elastic/mcp-server-elasticsearch.git"
echo -e "${GREEN}=== All repositories cloned successfully! ===${NC}" echo -e "${GREEN}=== All repositories cloned successfully! ===${NC}"
echo "" echo ""