edge
This commit is contained in:
parent
de4b817cfa
commit
14e4a4b563
1 changed files with 5 additions and 27 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.17
|
FROM ghcr.io/linuxserver/baseimage-alpine:edge
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# YTDL-SUB INSTALL
|
# YTDL-SUB INSTALL
|
||||||
|
|
@ -12,35 +12,13 @@ RUN mkdir -p /config && \
|
||||||
g++ \
|
g++ \
|
||||||
nano \
|
nano \
|
||||||
make \
|
make \
|
||||||
libc6-compat \
|
|
||||||
python3=~3.10 \
|
python3=~3.10 \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
fontconfig \
|
fontconfig \
|
||||||
py3-setuptools && \
|
py3-setuptools && \
|
||||||
# Install ffmpeg, ensure it is properly installed
|
# Install edge ffmpeg, ensure it is properly installed
|
||||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
|
||||||
curl -L -o ffmpeg.tar.gz https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz && \
|
"ffmpeg>5.1" && \
|
||||||
tar -xf ffmpeg.tar.gz && \
|
|
||||||
chmod +x ffmpeg-master-latest-linux64-gpl/bin/ffmpeg && \
|
|
||||||
chmod +x ffmpeg-master-latest-linux64-gpl/bin/ffprobe && \
|
|
||||||
chown root:root ffmpeg-master-latest-linux64-gpl/bin/ffmpeg && \
|
|
||||||
chown root:root ffmpeg-master-latest-linux64-gpl/bin/ffprobe && \
|
|
||||||
mv ffmpeg-master-latest-linux64-gpl/bin/ffmpeg /usr/bin/ffmpeg && \
|
|
||||||
mv ffmpeg-master-latest-linux64-gpl/bin/ffprobe /usr/bin/ffprobe && \
|
|
||||||
ls -lh /usr/bin && \
|
|
||||||
rm ffmpeg.tar.gz && \
|
|
||||||
rm -rf ffmpeg-master-latest-linux64-gpl/ ; \
|
|
||||||
else \
|
|
||||||
curl -L -o ffmpeg.tar.gz https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linuxarm64-gpl.tar.xz && \
|
|
||||||
tar -xf ffmpeg.tar.gz && \
|
|
||||||
chmod +x ffmpeg-master-latest-linuxarm64-gpl/bin/ffmpeg && \
|
|
||||||
chmod +x ffmpeg-master-latest-linuxarm64-gpl/bin/ffprobe && \
|
|
||||||
mv ffmpeg-master-latest-linuxarm64-gpl/bin/ffmpeg /usr/bin/ffmpeg && \
|
|
||||||
mv ffmpeg-master-latest-linuxarm64-gpl/bin/ffprobe /usr/bin/ffprobe && \
|
|
||||||
rm ffmpeg.tar.gz && \
|
|
||||||
rm -rf ffmpeg-master-latest-linuxarm64-gpl/ ; \
|
|
||||||
fi && \
|
|
||||||
# Ensure ffmpeg is installed
|
|
||||||
ffmpeg -version && \
|
ffmpeg -version && \
|
||||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue