fix: use system Python to fix venv symlink issue #4

Merged
Damien merged 1 commits from fix/netbox-mcp-python-venv into main 2026-01-11 10:30:01 +00:00
Showing only changes of commit a0078d331e - Show all commits

View File

@@ -11,7 +11,7 @@ ARG NETBOX_MCP_VERSION=1.0.0
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Stage 1: Builder # Stage 1: Builder
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
FROM python:3.14-alpine3.23 AS builder FROM python:3.13-alpine3.21 AS builder
ARG NETBOX_MCP_VERSION ARG NETBOX_MCP_VERSION
@@ -20,6 +20,7 @@ RUN apk add --no-cache git \
&& pip install --root-user-action=ignore --no-cache-dir uv && pip install --root-user-action=ignore --no-cache-dir uv
ENV UV_LINK_MODE=copy ENV UV_LINK_MODE=copy
ENV UV_PYTHON_PREFERENCE=only-system
WORKDIR /app WORKDIR /app
@@ -34,7 +35,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Stage 2: Runtime # Stage 2: Runtime
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
FROM python:3.14-alpine3.23 FROM python:3.13-alpine3.21
LABEL maintainer="Damien Arnodo" LABEL maintainer="Damien Arnodo"
LABEL org.opencontainers.image.title="NetBox MCP Server" LABEL org.opencontainers.image.title="NetBox MCP Server"