From 6fe2e9d5dee2840485a3a0dd4a7007043c871dd0 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Tue, 18 Apr 2023 15:32:43 +0200 Subject: [PATCH] feat(docker): also update the specified pip packages rather than just installing them Some pip packages may get updates and subsequent container runs wouldn't install them. Not so much of a problem normally but when for example yt-dlp is installed through pip to use with mopidy-youtube it's important to keep yt-dlp up-to-date to not have functionality be broken when Youtube updates their webpage again --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index aec10362..670c5450 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -8,7 +8,7 @@ fi if [ ${PIP_PACKAGES:+x} ]; then echo "-- INSTALLING PIP PACKAGES $PIP_PACKAGES --" - python3 -m pip install --no-cache $PIP_PACKAGES + python3 -m pip install --no-cache --upgrade $PIP_PACKAGES fi exec "$@"