[DOCKER] Install aria2 in container (#577)
This commit is contained in:
parent
14c7865165
commit
c77015353d
2 changed files with 6 additions and 3 deletions
|
|
@ -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 && \
|
||||||
|
|
|
||||||
|
|
@ -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 && \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue