Add ffmpeg package to n8n Docker image for media processing#118
Add ffmpeg package to n8n Docker image for media processing#118SashkoMarchuk merged 2 commits intomainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
🤖 CodeRabbit AI Review AvailableTo request a code review from CodeRabbit AI, add CodeRabbit will analyze your code and provide feedback on:
Note: Reviews are only performed when |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
🧹 Nitpick comments (1)
Dockerfile.n8n (1)
13-13: Pinffmpegto a specific version for reproducible builds.
gitis pinned to2.49.1-r0, butffmpegis unpinned. This inconsistency means the image isn't fully reproducible — a rebuild could pull a different ffmpeg version with breaking changes or vulnerabilities.Proposed fix
First, find the current version available in the base image's Alpine release:
#!/bin/bash # Check which Alpine version the base image uses and the available ffmpeg package version docker run --rm n8nio/n8n:1.109.2 sh -c "cat /etc/alpine-release && apk info ffmpeg 2>/dev/null || apk list ffmpeg 2>/dev/null || apk search -e ffmpeg"Then pin accordingly, e.g.:
- apk add --no-cache git=2.49.1-r0 ffmpeg && \ + apk add --no-cache git=2.49.1-r0 ffmpeg=<version> && \
Address CodeRabbit review feedback and fix hadolint DL3018 CI failure by pinning ffmpeg to a specific Alpine package version, consistent with the existing git version pinning pattern. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🔍 Vulnerabilities of
|
| digest | sha256:17e54ff5e9a181d1bdbf7334ce9637f9c3934d54a65427ae36a5743f46487f15 |
| vulnerabilities | |
| platform | linux/amd64 |
| size | 218 MB |
| packages | 358 |
📦 Base Image alpine:3
| also known as |
|
| digest | sha256:1c4eef651f65e2f7daee7ee785882ac164b02b78fb74503052a26dc061c90474 |
| vulnerabilities |
Description
Description
Description
Description
Description
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
Description
Description
Description
Description
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
Description
Description
Description
Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
Description
Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description
|



Click Up Task: https://app.clickup.com/t/86c7xzdpc
Summary by CodeRabbit
Usage in Production
While
N8N_BLOCKED_NODESblocks the Execute Command node in production,ffmpeg is accessible through:
n8n-nodes-mediafx,@raisaroj/n8n-nodes-ffmpeg)installed via Settings > Community Nodes in the n8n UI
The ffmpeg binary must be present at the system level for any of these
integration methods to work.