From bd7c6f39b186ffffb12f0e7c6548f5dd27dcf3d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Georger?= Date: Sat, 31 Oct 2026 02:25:04 -0300 Subject: [PATCH] chore(dockerfile): improve package installation and add Python dependencies --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a28e2d3..1600ec3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -94,8 +94,8 @@ ENV NODE_ENV=production \ # syscalls; a hardened pod (all capabilities dropped, RuntimeDefault seccomp) # usually cannot create one, which is why DSH then falls back to Landlock and, # when that is unavailable too, to DSH_PERMISSION_MODE=danger-full-access. -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ +RUN apt update \ + && apt install -y --no-install-recommends \ ca-certificates \ git \ ripgrep \ @@ -106,8 +106,11 @@ RUN apt-get update \ tini \ gh \ bubblewrap \ + python3 \ + python3-pip \ + python3-venv \ && rm -rf /var/lib/apt/lists/* \ - && curl -LsSf https://astral.sh/uv/install.sh | sh \ + && apt autoclean -y \ && install -d -o node -g node -m 0755 /workspace "$DSH_HOME" \ && corepack enable \ && corepack prepare "pnpm@$PNPM_VERSION" --activate \