mirror of
https://github.com/sredevopsorg/deepseek-kubernetes-sandbox.git
synced 2026-11-03 01:13:24 +00:00
chore(dockerfile): improve package installation and add Python dependencies
This commit is contained in:
@@ -94,8 +94,8 @@ ENV NODE_ENV=production \
|
|||||||
# syscalls; a hardened pod (all capabilities dropped, RuntimeDefault seccomp)
|
# syscalls; a hardened pod (all capabilities dropped, RuntimeDefault seccomp)
|
||||||
# usually cannot create one, which is why DSH then falls back to Landlock and,
|
# 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.
|
# when that is unavailable too, to DSH_PERMISSION_MODE=danger-full-access.
|
||||||
RUN apt-get update \
|
RUN apt update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
git \
|
git \
|
||||||
ripgrep \
|
ripgrep \
|
||||||
@@ -106,8 +106,11 @@ RUN apt-get update \
|
|||||||
tini \
|
tini \
|
||||||
gh \
|
gh \
|
||||||
bubblewrap \
|
bubblewrap \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-venv \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& 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" \
|
&& install -d -o node -g node -m 0755 /workspace "$DSH_HOME" \
|
||||||
&& corepack enable \
|
&& corepack enable \
|
||||||
&& corepack prepare "pnpm@$PNPM_VERSION" --activate \
|
&& corepack prepare "pnpm@$PNPM_VERSION" --activate \
|
||||||
|
|||||||
Reference in New Issue
Block a user