# Add ffmpeg to Filestash for video transcoding support
FROM machines/filestash:latest

USER root

# Install ffmpeg and ffprobe
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
    ffmpeg \
    && rm -rf /var/lib/apt/lists/*

USER filestash

# Verify ffmpeg is installed
RUN ffmpeg -version && ffprobe -version
