1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-21 18:22:30 +01:00

[docker] fix Docker image build

make commands meant to remove unnecessary caches non-fatal
(pip no longer installs setuptools and wheel directly anymore)
This commit is contained in:
Mike Fährmann 2024-09-06 21:22:59 +02:00
parent dd62768e10
commit 11a508f470
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 4 additions and 4 deletions

View File

@ -14,9 +14,9 @@ RUN : \
https://github.com/mikf/gallery-dl/archive/refs/heads/master.tar.gz \
yt-dlp \
'requests<2.32' \
&& rm -rf /root/.cache/pip \
&& find /usr/local/lib/python3.*/site-packages/setuptools -name __pycache__ -exec rm -rf {} + \
&& find /usr/local/lib/python3.*/site-packages/wheel -name __pycache__ -exec rm -rf {} + \
&& ( 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 ) \
&& :
ENTRYPOINT [ "gallery-dl" ]

View File

@ -6,5 +6,5 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.27.4"
__version__ = "1.27.5-dev"
__variant__ = None