From f0a5899cfe1ac4f9d0cc0c2984eba988e568865a Mon Sep 17 00:00:00 2001 From: "Tobias J. Endres" Date: Tue, 23 Jun 2026 15:37:45 +0200 Subject: [PATCH] fix: use python:3.12-slim base for Python MCPs (nc-mcp-server needs 3.12+) --- kontist/Dockerfile | 2 +- nextcloud/Dockerfile | 6 +++--- nginx-proxy-manager/Dockerfile | 6 +++--- portainer/Dockerfile | 6 +++--- web-search/Dockerfile | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/kontist/Dockerfile b/kontist/Dockerfile index 498a359..2194187 100644 --- a/kontist/Dockerfile +++ b/kontist/Dockerfile @@ -1,5 +1,5 @@ FROM node:22-slim -RUN apt-get update && apt-get install -y --no-install-recommends git python3 python3-pip python3-venv python3-dev build-essential && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/* RUN git clone https://github.com/tobiasendres-dev/kontist-mcp.git /app/kontist-mcp WORKDIR /app/kontist-mcp RUN npm install diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 75b18f8..4818083 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -1,5 +1,5 @@ -FROM node:22-slim -RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-venv python3-dev build-essential && rm -rf /var/lib/apt/lists/* -RUN pip3 install --no-cache-dir --break-system-packages "nc-mcp-server>=0.7.0" && npm install -g mcp-proxy@6.5.2 +FROM python:3.12-slim +RUN apt-get update && apt-get install -y --no-install-recommends nodejs npm && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir "nc-mcp-server>=0.7.0" && npm install -g mcp-proxy@6.5.2 EXPOSE 8107 CMD ["mcp-proxy", "--port", "8107", "--host", "0.0.0.0", "--", "nc-mcp-server"] \ No newline at end of file diff --git a/nginx-proxy-manager/Dockerfile b/nginx-proxy-manager/Dockerfile index 762ef57..cbccdfb 100644 --- a/nginx-proxy-manager/Dockerfile +++ b/nginx-proxy-manager/Dockerfile @@ -1,5 +1,5 @@ -FROM node:22-slim -RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-venv python3-dev build-essential && rm -rf /var/lib/apt/lists/* -RUN pip3 install --no-cache-dir --break-system-packages "nginx-proxy-manager-mcp>=2.14.0" && npm install -g mcp-proxy@6.5.2 +FROM python:3.12-slim +RUN apt-get update && apt-get install -y --no-install-recommends nodejs npm && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir "nginx-proxy-manager-mcp>=2.14.0" && npm install -g mcp-proxy@6.5.2 EXPOSE 8105 CMD ["mcp-proxy", "--port", "8105", "--host", "0.0.0.0", "--", "nginx-proxy-manager-mcp"] \ No newline at end of file diff --git a/portainer/Dockerfile b/portainer/Dockerfile index 066a3b7..d8c8013 100644 --- a/portainer/Dockerfile +++ b/portainer/Dockerfile @@ -1,6 +1,6 @@ -FROM node:22-slim -RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-venv python3-dev build-essential && rm -rf /var/lib/apt/lists/* -RUN pip3 install --no-cache-dir --break-system-packages "mcp-portainer~=2.42.0" && npm install -g mcp-proxy@6.5.2 +FROM python:3.12-slim +RUN apt-get update && apt-get install -y --no-install-recommends nodejs npm && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir "mcp-portainer~=2.42.0" && npm install -g mcp-proxy@6.5.2 ENV PORTAINER_TLS_VERIFY=false EXPOSE 8110 CMD ["mcp-proxy", "--port", "8110", "--host", "0.0.0.0", "--", "mcp-portainer"] \ No newline at end of file diff --git a/web-search/Dockerfile b/web-search/Dockerfile index 1d8f993..bb93259 100644 --- a/web-search/Dockerfile +++ b/web-search/Dockerfile @@ -1,5 +1,5 @@ -FROM node:22-slim -RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-venv python3-dev build-essential && rm -rf /var/lib/apt/lists/* -RUN pip3 install --no-cache-dir --break-system-packages web-researcher-mcp && npm install -g mcp-proxy@6.5.2 +FROM python:3.12-slim +RUN apt-get update && apt-get install -y --no-install-recommends nodejs npm && rm -rf /var/lib/apt/lists/* +RUN pip install --no-cache-dir web-researcher-mcp && npm install -g mcp-proxy@6.5.2 EXPOSE 8116 CMD ["mcp-proxy", "--port", "8116", "--host", "0.0.0.0", "--", "web-researcher-mcp"] \ No newline at end of file