mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-09 00:54:42 +02:00
fix(finlab): ttyd absent des dépôts bookworm → binaire statique GitHub
Le build amont échouait (`E: Package 'ttyd' has no installation candidate`) : ttyd n'est pas packagé dans Debian bookworm. On récupère le binaire statique (musl, pin TTYD_VERSION=1.7.7) depuis les releases GitHub. Build complet validé en local (podman) : ttyd 1.7.7, claude-code 2.1.195, import finlab + seed OK. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
b649afd059
commit
4530762bf2
1 changed files with 8 additions and 3 deletions
|
|
@ -6,14 +6,19 @@
|
|||
# aucune facturation API, aucun broker, lecture/analyse uniquement.
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
# Node (pour le CLI claude-code) + ttyd (terminal web) + git + tini (PID 1 propre).
|
||||
# Node (pour le CLI claude-code) + git + tini (PID 1 propre). ttyd n'est PAS dans les dépôts
|
||||
# Debian bookworm → on récupère le binaire statique (musl) depuis les releases GitHub (pin).
|
||||
ARG TTYD_VERSION=1.7.7
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
curl ca-certificates git ttyd tini procps \
|
||||
curl ca-certificates git tini procps \
|
||||
&& curl -fsSL "https://github.com/tsl0922/ttyd/releases/download/${TTYD_VERSION}/ttyd.x86_64" \
|
||||
-o /usr/local/bin/ttyd \
|
||||
&& chmod +x /usr/local/bin/ttyd \
|
||||
&& ttyd --version \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
||||
&& apt-get install -y --no-install-recommends nodejs \
|
||||
&& npm install -g @anthropic-ai/claude-code \
|
||||
&& npm cache clean --force \
|
||||
&& apt-get purge -y curl \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Dépendances Python de finlab dans un venv dédié (séparé du workspace, donc non altérable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue