From ec3d4f74624959619143ec79ed4cdc55bc1f3a12 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Thu, 19 Feb 2026 18:08:54 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=92=EF=B8=8F(agents)=20uninstall=20pip?= =?UTF-8?q?=20from=20the=20agents=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reduce surface area and keep the runtime image minimal. --- src/agents/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/agents/Dockerfile b/src/agents/Dockerfile index 558d1463..50c29007 100644 --- a/src/agents/Dockerfile +++ b/src/agents/Dockerfile @@ -19,6 +19,9 @@ FROM base AS production WORKDIR /app +# Remove pip to reduce attack surface in production +RUN pip uninstall -y pip + ARG DOCKER_USER USER ${DOCKER_USER}