[docker] fix Docker image build

make commands meant to remove unnecessary caches non-fatal
(pip no longer installs setuptools and wheel directly anymore)
pull/5071/merge
Mike Fährmann 2 weeks ago
parent dd62768e10
commit 11a508f470
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -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" ]

@ -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

Loading…
Cancel
Save