Skip to content

Commit

Permalink
static ffmpeg - missing xz
Browse files Browse the repository at this point in the history
  • Loading branch information
hernandev committed Apr 26, 2022
1 parent 05c6c76 commit 76c4b84
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 20 deletions.
11 changes: 6 additions & 5 deletions php/7.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ RUN echo "---> Enabling PHP-Alpine" && \
echo "---> Installing static FFMpeg binaries" && \
export FFMPEG_PLATFORM=$(echo $TARGETPLATFORM | sed 's/linux\///g') && \
wget -O /tmp/ffmpeg.tar.xz "https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4-${FFMPEG_PLATFORM}-static.tar.xz" && \
tar x --directory=/tmp -f /tmp/ffmpeg.tar.xz && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/ffmpeg && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/ffprobe && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/qt-faststart && \
rm -rf /tmp/ffmpeg* && \
tar x --directory=/tmp/ffmpeg-static -f /tmp/ffmpeg.tar.xz && \
ls -lhart /tmp/* && \
mv /tmp/ffmpeg-static/ffmpeg /bin/ffmpeg && \
mv /tmp/ffmpeg-static/ffmpeg /bin/ffprobe && \
mv /tmp/ffmpeg-static/ffmpeg /bin/qt-faststart && \
rm -rf /tmp/ffmpeg-static && \
echo "---> Preparing and Installing PHP" && \
apk add --update \
php7@php \
Expand Down
11 changes: 6 additions & 5 deletions php/7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ RUN echo "---> Enabling PHP-Alpine" && \
echo "---> Installing static FFMpeg binaries" && \
export FFMPEG_PLATFORM=$(echo $TARGETPLATFORM | sed 's/linux\///g') && \
wget -O /tmp/ffmpeg.tar.xz "https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4-${FFMPEG_PLATFORM}-static.tar.xz" && \
tar x --directory=/tmp -f /tmp/ffmpeg.tar.xz && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/ffmpeg && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/ffprobe && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/qt-faststart && \
rm -rf /tmp/ffmpeg* && \
tar x --directory=/tmp/ffmpeg-static -f /tmp/ffmpeg.tar.xz && \
ls -lhart /tmp/* && \
mv /tmp/ffmpeg-static/ffmpeg /bin/ffmpeg && \
mv /tmp/ffmpeg-static/ffmpeg /bin/ffprobe && \
mv /tmp/ffmpeg-static/ffmpeg /bin/qt-faststart && \
rm -rf /tmp/ffmpeg-static && \
echo "---> Preparing and Installing PHP" && \
apk add --update \
php7@php \
Expand Down
11 changes: 6 additions & 5 deletions php/8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ RUN echo "---> Enabling PHP-Alpine" && \
echo "---> Installing static FFMpeg binaries" && \
export FFMPEG_PLATFORM=$(echo $TARGETPLATFORM | sed 's/linux\///g') && \
wget -O /tmp/ffmpeg.tar.xz "https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4-${FFMPEG_PLATFORM}-static.tar.xz" && \
tar x --directory=/tmp -f /tmp/ffmpeg.tar.xz && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/ffmpeg && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/ffprobe && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/qt-faststart && \
rm -rf /tmp/ffmpeg* && \
tar x --directory=/tmp/ffmpeg-static -f /tmp/ffmpeg.tar.xz && \
ls -lhart /tmp/* && \
mv /tmp/ffmpeg-static/ffmpeg /bin/ffmpeg && \
mv /tmp/ffmpeg-static/ffmpeg /bin/ffprobe && \
mv /tmp/ffmpeg-static/ffmpeg /bin/qt-faststart && \
rm -rf /tmp/ffmpeg-static && \
echo "---> Preparing and Installing PHP" && \
apk add --update \
php8 \
Expand Down
11 changes: 6 additions & 5 deletions php/8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ RUN echo "---> Enabling PHP-Alpine" && \
echo "---> Installing static FFMpeg binaries" && \
export FFMPEG_PLATFORM=$(echo $TARGETPLATFORM | sed 's/linux\///g') && \
wget -O /tmp/ffmpeg.tar.xz "https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.4-${FFMPEG_PLATFORM}-static.tar.xz" && \
tar x --directory=/tmp -f /tmp/ffmpeg.tar.xz && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/ffmpeg && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/ffprobe && \
mv /tmp/ffmpeg-*-static/ffmpeg /bin/qt-faststart && \
rm -rf /tmp/ffmpeg* && \
tar x --directory=/tmp/ffmpeg-static -f /tmp/ffmpeg.tar.xz && \
ls -lhart /tmp/* && \
mv /tmp/ffmpeg-static/ffmpeg /bin/ffmpeg && \
mv /tmp/ffmpeg-static/ffmpeg /bin/ffprobe && \
mv /tmp/ffmpeg-static/ffmpeg /bin/qt-faststart && \
rm -rf /tmp/ffmpeg-static && \
echo "---> Preparing and Installing PHP" && \
apk add --update \
php8@php \
Expand Down

0 comments on commit 76c4b84

Please sign in to comment.