N8N 2.0.3 version was running well on hugging face space with supabase. today I tried to upgrade to the latest version, like 2.1.4. then build error as follows. please kindly help with me. thanks a lot.
build error
Job failed with exit code: 1. Reason: cache miss: [4/4] WORKDIR /data cache miss: [3/4] RUN pip3 install --no-cache-dir yt-dlp --break-system-packages cache miss: [2/4] RUN apt-get update && apt-get install -y python3 python3-pip chromium postgresql-client ffmpeg git && rm -rf /var/lib/apt/lists/* {“total”:8,“completed”:6,“user_total”:4,“user_cached”:0,“user_completed”:2,“user_cacheable”:3,“from”:1,“miss”:3,“client_duration_ms”:28220}
Build logs:
===== Build Queued at 2025-12-24 08:12:14 / Commit SHA: 995de8c =====
→ FROM docker.io/n8nio/n8n:2.1.4@sha256:85214df20cd7bc020f8e4b0f60f87ea87f0a754ca7ba3d1ccdfc503ccd6e7f9c
DONE 2.6s
DONE 4.1s
DONE 26.8s
DONE 27.5s
DONE 27.8s
→ RUN apt-get update && apt-get install -y python3 python3-pip chromium postgresql-client ffmpeg git && rm -rf /var/lib/apt/lists/*
/bin/sh: apt-get: not found
→ ERROR: process “/bin/sh -c apt-get update && apt-get install -y python3 python3-pip chromium postgresql-client ffmpeg git && rm -rf /var/lib/apt/lists/*” did not complete successfully: exit code: 127
n8n version:
Database (default: SQLite):supabase
Dockerfile as below
| FROM n8nio/n8n:2.1.4 |
|---|
| USER root |
| RUN apt-get update && apt-get install -y \ |
| python3 \ |
| python3-pip \ |
| chromium \ |
| postgresql-client \ |
| ffmpeg \ |
| git \ |
| && rm -rf /var/lib/apt/lists/* |
| RUN pip3 install --no-cache-dir yt-dlp --break-system-packages |
| USER node |
| WORKDIR /data |