mirror of
https://github.com/LukeHagar/ytdl-sub.git
synced 2025-12-06 04:22:12 +00:00
[DOCKER] Install aria2 in container (#577)
This commit is contained in:
@@ -16,10 +16,12 @@ RUN mkdir -p /config && \
|
||||
py3-pip \
|
||||
fontconfig \
|
||||
py3-setuptools && \
|
||||
# Install edge ffmpeg, ensure it is properly installed
|
||||
# Install edge ffmpeg and aria2 from community, ensure they are properly installed
|
||||
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
|
||||
"ffmpeg>5.1" && \
|
||||
ffmpeg -version && \
|
||||
"ffmpeg>5.1" \
|
||||
"aria2>=1.36.0" && \
|
||||
ffmpeg -version && \
|
||||
aria2c --version && \
|
||||
# Install phantomjs if using x86_64, ensure it is properly installed
|
||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||
cd /usr/share && \
|
||||
|
||||
@@ -28,6 +28,7 @@ RUN mkdir -p /config && \
|
||||
fontconfig \
|
||||
xz-utils \
|
||||
bzip2 \
|
||||
aria2 \
|
||||
python3-venv && \
|
||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||
curl -L -o ffmpeg.tar.gz https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz && \
|
||||
|
||||
Reference in New Issue
Block a user