Skip to content

Commit

Permalink
fix: 修复 pip install --break-system-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
scjtqs committed May 7, 2024
1 parent dd081b6 commit 69c2cbf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RUN set -ex; \
; \
rm -rf /var/lib/apt/lists/* \
; \
pip3 install youtube-dl; \
pip3 install --break-system-packages youtube-dl; \
ln -s /usr/bin/python3 /usr/bin/python;

COPY aria2.conf /
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.fpm.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RUN set -ex; \
curl \
p7zip \
; \
pip3 install youtube-dl; \
pip3 install --break-system-packages youtube-dl; \
ln -s /usr/bin/python3 /usr/bin/python; \
ln -s /usr/bin/youtube-dl /usr/local/bin/youtube-dl;

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.fpm.alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RUN set -ex; \
curl \
p7zip \
; \
pip3 install youtube-dl; \
pip3 install --break-system-packages youtube-dl; \
ln -s /usr/bin/python3 /usr/bin/python; \
ln -s /usr/bin/youtube-dl /usr/local/bin/youtube-dl;

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RUN set -ex; \
; \
rm -rf /var/lib/apt/lists/* \
; \
pip3 install youtube-dl; \
pip3 install --break-system-packages youtube-dl; \
ln -s /usr/bin/python3 /usr/bin/python;

COPY aria2.conf /
Expand Down

0 comments on commit 69c2cbf

Please sign in to comment.