[DOCKER] Install aria2 in container (#577)

This commit is contained in:
Jesse Bannon 2023-04-02 22:10:51 -07:00 committed by GitHub
parent 14c7865165
commit c77015353d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -16,10 +16,12 @@ RUN mkdir -p /config && \
py3-pip \ py3-pip \
fontconfig \ fontconfig \
py3-setuptools && \ 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 \ apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
"ffmpeg>5.1" && \ "ffmpeg>5.1" \
ffmpeg -version && \ "aria2>=1.36.0" && \
ffmpeg -version && \
aria2c --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 \
cd /usr/share && \ cd /usr/share && \

View file

@ -28,6 +28,7 @@ RUN mkdir -p /config && \
fontconfig \ fontconfig \
xz-utils \ xz-utils \
bzip2 \ bzip2 \
aria2 \
python3-venv && \ python3-venv && \
if [[ $(uname -m) == "x86_64" ]]; then \ 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 && \ curl -L -o ffmpeg.tar.gz https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz && \