[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:
@@ -14,9 +14,9 @@ RUN : \
|
|||||||
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 \
|
yt-dlp \
|
||||||
'requests<2.32' \
|
'requests<2.32' \
|
||||||
&& rm -rf /root/.cache/pip \
|
&& ( rm -rf /root/.cache/pip || true ) \
|
||||||
&& find /usr/local/lib/python3.*/site-packages/setuptools -name __pycache__ -exec rm -rf {} + \
|
&& ( 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 {} + \
|
&& ( find /usr/local/lib/python3.*/site-packages/wheel -name __pycache__ -exec rm -rf {} + || true ) \
|
||||||
&& :
|
&& :
|
||||||
|
|
||||||
ENTRYPOINT [ "gallery-dl" ]
|
ENTRYPOINT [ "gallery-dl" ]
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
# it under the terms of the GNU General Public License version 2 as
|
# it under the terms of the GNU General Public License version 2 as
|
||||||
# published by the Free Software Foundation.
|
# published by the Free Software Foundation.
|
||||||
|
|
||||||
__version__ = "1.27.4"
|
__version__ = "1.27.5-dev"
|
||||||
__variant__ = None
|
__variant__ = None
|
||||||
|
|||||||
Reference in New Issue
Block a user