fix: use python:3.12-slim base for Python MCPs (nc-mcp-server needs 3.12+)

This commit is contained in:
Tobias J. Endres 2026-06-23 15:37:45 +02:00
parent 8aa1effa89
commit 8844438477
5 changed files with 13 additions and 13 deletions

View file

@ -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

View file

@ -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"]

View file

@ -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"]

View file

@ -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"]

View file

@ -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"]