install more recent ffmpeg (#259)

This commit is contained in:
Werner Robitza
2021-08-01 14:16:13 +02:00
committed by GitHub
parent 7237040777
commit 360a647eb5
2 changed files with 20 additions and 11 deletions

View File

@@ -50,11 +50,17 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
COPY --chown=www-data:www-data --from=compile-image /home/mediacms.io /home/mediacms.io
RUN apt-get update -y && apt-get -y upgrade && apt-get install --no-install-recommends \
supervisor nginx ffmpeg imagemagick procps -y && \
supervisor nginx imagemagick procps wget xz-utils -y && \
rm -rf /var/lib/apt/lists/* && \
apt-get purge --auto-remove && \
apt-get clean
RUN wget -q https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz && \
mkdir -p tmp && \
tar -xf ffmpeg-release-amd64-static.tar.xz --strip-components 1 -C tmp && \
cp -v tmp/ffmpeg tmp/ffprobe tmp/qt-faststart /usr/local/bin && \
rm -rf tmp ffmpeg-release-amd64-static.tar.xz
WORKDIR /home/mediacms.io/mediacms
EXPOSE 9000 80