fix: use static ffmpeg binary for n8n 2.1.0+ compatibility

This commit is contained in:
Yury Kossakovsky
2025-12-22 09:14:19 -07:00
parent bb29eefae1
commit 8650c70992
2 changed files with 8 additions and 1 deletions

View File

@@ -12,6 +12,9 @@ All notable changes to this project are documented in this file.
- **Update preview** - Preview changes before applying updates
- **n8n v2.0 support** - Worker-runner sidecar pattern for task execution
### Fixed
- **n8n 2.1.0+ compatibility** - Switch to static ffmpeg binary (apk removed upstream in n8n 2.1.0)
## [November 2025]
### Added

View File

@@ -1,5 +1,9 @@
FROM n8nio/n8n:stable
USER root
RUN apk add --no-cache ffmpeg
# Install static ffmpeg binary (no package manager needed)
RUN wget -qO- https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz | \
tar -xJC /tmp && \
mv /tmp/ffmpeg-*-static/ffmpeg /tmp/ffmpeg-*-static/ffprobe /usr/local/bin/ && \
rm -rf /tmp/ffmpeg-*
USER node