Skip to content
Snippets Groups Projects
Commit 94fae92e authored by Yassine Doghri's avatar Yassine Doghri
Browse files

build(docker): extract ffmpeg tar directly into the ffmpeg folder

This fixes a bug where the mv ffmpeg command breaks if the upstream folder name of the ffmpeg tar
changes (version change).
parent f2bc2f7e
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,8 @@ FROM docker.io/alpine:3.13 AS ffmpeg-downloader
RUN apk add --no-cache curl && \
curl https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz && \
tar -xJf ffmpeg.tar.xz && \
mv ffmpeg-5.0.1-amd64-static ffmpeg
mkdir ffmpeg && \
tar -xJf ffmpeg.tar.xz -C ffmpeg --strip-components 1
FROM docker.io/php:8.0-fpm-alpine3.13
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment