fix(mcp): give freshrss-mcp a uv-managed Python 3.14
Build mcp-gateway image / build-and-push (push) Failing after 1m4s
Build mcp-gateway image / build-and-push (push) Failing after 1m4s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
be95108ed7
commit
2a2b725145
1 file changed
+8
-5
@@ -25,11 +25,14 @@ RUN npm install -g --omit=dev \
|
|||||||
# --- Python servers (uv tools, binaries land in /usr/local/bin) -------------
|
# --- Python servers (uv tools, binaries land in /usr/local/bin) -------------
|
||||||
ENV UV_TOOL_DIR=/opt/uv-tools \
|
ENV UV_TOOL_DIR=/opt/uv-tools \
|
||||||
UV_TOOL_BIN_DIR=/usr/local/bin \
|
UV_TOOL_BIN_DIR=/usr/local/bin \
|
||||||
UV_PYTHON_PREFERENCE=only-system
|
UV_PYTHON_INSTALL_DIR=/opt/uv-python
|
||||||
RUN uv tool install "mcp-portainer~=2.42.0" \
|
RUN uv tool install --python-preference only-system "mcp-portainer~=2.42.0" \
|
||||||
&& uv tool install --extra-index-url https://nikitatsym.github.io/gitea-mcp/simple "gitea-mcp==1.0.76" \
|
&& uv tool install --python-preference only-system --extra-index-url https://nikitatsym.github.io/gitea-mcp/simple "gitea-mcp==1.0.76" \
|
||||||
&& uv tool install --extra-index-url https://nikitatsym.github.io/authentik-mcp/simple "authentik-mcp==1.0.27" \
|
&& uv tool install --python-preference only-system --extra-index-url https://nikitatsym.github.io/authentik-mcp/simple "authentik-mcp==1.0.27" \
|
||||||
&& uv tool install --with "mcp<2" \
|
&& rm -rf /root/.cache/uv
|
||||||
|
# freshrss-mcp-server requires Python >=3.14; base image is 3.13, so this one
|
||||||
|
# tool gets its own uv-managed interpreter.
|
||||||
|
RUN uv tool install --python 3.14 --python-preference only-managed --with "mcp<2" \
|
||||||
"git+https://github.com/darknight/freshrss-mcp-server@d6b3c4c342fc493b95d20a14be8284004e3312aa" \
|
"git+https://github.com/darknight/freshrss-mcp-server@d6b3c4c342fc493b95d20a14be8284004e3312aa" \
|
||||||
&& rm -rf /root/.cache/uv
|
&& rm -rf /root/.cache/uv
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user