[fix] upgrade all BUT pip

This commit is contained in:
ElevenNotes
2025-05-02 10:14:05 +02:00
parent 9a990477d8
commit 3a98954378
2 changed files with 4 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ ARG APP_GID=1000
echo "${APP_VERSION}" > VERSION; \
echo "master" >> VERSION; \
pip3 install --no-cache-dir --break-system-packages -r /opt/py-kms/requirements.gui.txt; \
pip3 list -o | cut -f1 -d' ' | tr " " "\n" | awk '{if(NR>=3)print}' | cut -d' ' -f1 | xargs -n1 pip3 install --no-cache-dir --break-system-packages -U; \
pip3 list -o | sed 's/pip.*//' | grep . | cut -f1 -d' ' | tr " " "\n" | awk '{if(NR>=3)print}' | cut -d' ' -f1 | xargs -n1 pip3 install --no-cache-dir --break-system-packages -U; \
apk del --no-network .build;
# :: copy filesystem changes