ci: optimized base-image size

This commit is contained in:
Marvin Zhang
2024-11-20 15:17:03 +08:00
parent a781d12954
commit 1c618bd152
3 changed files with 24 additions and 20 deletions

View File

@@ -59,3 +59,9 @@ fi
# install python dependencies
pip install -r /app/install/python/requirements.txt
# After pip install
pip cache purge && \
rm -rf ~/.cache/pip/* && \
apt-get remove -y make build-essential && \
apt-get autoremove -y