mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 18:56:42 +02: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue