[docker] include more optional Python dependencies (#8026)
increases image size from 230 MB to 235 MB
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -3,16 +3,20 @@ ENV LANG=C.UTF-8
|
|||||||
|
|
||||||
RUN : \
|
RUN : \
|
||||||
&& apk --no-interactive update \
|
&& apk --no-interactive update \
|
||||||
&& apk --no-cache --no-interactive add ffmpeg \
|
&& apk --no-interactive --no-cache add ffmpeg \
|
||||||
&& rm -rf /var/cache/apk \
|
&& rm -rf /var/cache/apk \
|
||||||
&& :
|
&& :
|
||||||
|
|
||||||
RUN : \
|
RUN : \
|
||||||
&& python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install -U \
|
&& python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install --root-user-action ignore -U \
|
||||||
pip \
|
pip \
|
||||||
&& python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install -U \
|
&& python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install --root-user-action ignore -U \
|
||||||
https://github.com/mikf/gallery-dl/archive/refs/heads/master.tar.gz \
|
https://github.com/mikf/gallery-dl/archive/refs/heads/master.tar.gz \
|
||||||
yt-dlp[default] \
|
yt-dlp[default] \
|
||||||
|
requests[socks] \
|
||||||
|
truststore \
|
||||||
|
jinja2 \
|
||||||
|
pyyaml \
|
||||||
&& ( rm -rf /root/.cache/pip || true ) \
|
&& ( rm -rf /root/.cache/pip || true ) \
|
||||||
&& ( find /usr/local/lib/python3.*/site-packages/setuptools -name __pycache__ -exec rm -rf {} + || true ) \
|
&& ( find /usr/local/lib/python3.*/site-packages/setuptools -name __pycache__ -exec rm -rf {} + || true ) \
|
||||||
&& ( find /usr/local/lib/python3.*/site-packages/wheel -name __pycache__ -exec rm -rf {} + || true ) \
|
&& ( find /usr/local/lib/python3.*/site-packages/wheel -name __pycache__ -exec rm -rf {} + || true ) \
|
||||||
|
|||||||
Reference in New Issue
Block a user