2024-10-10 10:12:26 +02:00
|
|
|
FROM python:3.12-alpine
|
2024-03-05 02:57:30 +01:00
|
|
|
ENV LANG=C.UTF-8
|
|
|
|
|
|
|
|
RUN : \
|
|
|
|
&& apk --no-interactive update \
|
|
|
|
&& apk --no-cache --no-interactive add ffmpeg \
|
|
|
|
&& rm -rf /var/cache/apk \
|
|
|
|
&& :
|
|
|
|
|
|
|
|
RUN : \
|
|
|
|
&& python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install -U \
|
|
|
|
pip \
|
|
|
|
&& python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install -U \
|
2024-03-05 03:15:20 +01:00
|
|
|
https://github.com/mikf/gallery-dl/archive/refs/heads/master.tar.gz \
|
2024-10-17 09:20:26 +02:00
|
|
|
yt-dlp[default] \
|
2024-09-06 21:22:59 +02:00
|
|
|
&& ( 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/wheel -name __pycache__ -exec rm -rf {} + || true ) \
|
2024-03-05 02:57:30 +01:00
|
|
|
&& :
|
|
|
|
|
2023-11-20 17:53:48 +01:00
|
|
|
ENTRYPOINT [ "gallery-dl" ]
|