mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
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).
This commit is contained in:
parent
f2bc2f7e01
commit
94fae92e9a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user