[DOCKER] Add curl-cffi and yt-dlp-ejs dependencies
Adds recommended deps from yt-dlp README
This commit is contained in:
parent
e507e6ed46
commit
2c33c3b49b
3 changed files with 6 additions and 6 deletions
|
|
@ -48,8 +48,8 @@ RUN mkdir -pv "${DEFAULT_WORKSPACE}" && \
|
||||||
fi && \
|
fi && \
|
||||||
# Configure pip globally
|
# Configure pip globally
|
||||||
echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \
|
echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \
|
||||||
# Install ytdl-sub, ensure it is installed properly
|
# Install ytdl-sub and yt-dlp dependencies, ensure they are installed properly
|
||||||
python3 -m pip install ytdl_sub-*.whl && \
|
python3 -m pip install ytdl_sub-*.whl curl-cffi yt-dlp-ejs && \
|
||||||
ytdl-sub -h && \
|
ytdl-sub -h && \
|
||||||
# Delete unneeded packages after install
|
# Delete unneeded packages after install
|
||||||
rm ytdl_sub-*.whl && \
|
rm ytdl_sub-*.whl && \
|
||||||
|
|
|
||||||
|
|
@ -67,8 +67,8 @@ RUN mkdir -p /config && \
|
||||||
deno --help && \
|
deno --help && \
|
||||||
# Configure pip globally
|
# Configure pip globally
|
||||||
echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \
|
echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \
|
||||||
# Install ytdl-sub, ensure it is installed properly
|
# Install ytdl-sub and yt-dlp dependencies, ensure they are installed properly
|
||||||
python3 -m pip install ytdl_sub-*.whl && \
|
python3 -m pip install ytdl_sub-*.whl curl-cffi yt-dlp-ejs && \
|
||||||
ytdl-sub -h && \
|
ytdl-sub -h && \
|
||||||
# Delete unneeded packages after install
|
# Delete unneeded packages after install
|
||||||
rm ytdl_sub-*.whl && \
|
rm ytdl_sub-*.whl && \
|
||||||
|
|
|
||||||
|
|
@ -70,8 +70,8 @@ RUN mkdir -pv "${DEFAULT_WORKSPACE}" && \
|
||||||
deno --help && \
|
deno --help && \
|
||||||
# Configure pip globally
|
# Configure pip globally
|
||||||
echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \
|
echo -e "[global]\nbreak-system-packages = true\nroot-user-action = ignore\nno-cache-dir = true" > /etc/pip.conf && \
|
||||||
# Install ytdl-sub, ensure it is installed properly
|
# Install ytdl-sub and yt-dlp dependencies, ensure they are installed properly
|
||||||
python3 -m pip install ytdl_sub-*.whl && \
|
python3 -m pip install ytdl_sub-*.whl curl-cffi yt-dlp-ejs && \
|
||||||
ytdl-sub -h && \
|
ytdl-sub -h && \
|
||||||
# Delete unneeded packages after install
|
# Delete unneeded packages after install
|
||||||
rm ytdl_sub-*.whl && \
|
rm ytdl_sub-*.whl && \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue