#!/bin/bash HTTP_PYPI_OK=$(curl -s --head --request GET https://pypi.org/simple/ | grep "HTTP/2 200") if [ -n "$PYTHON_INSTALL" ] && [ -n "$HTTP_PYPI_OK" ]; then entrypoint-log "Install python packages: $PYTHON_INSTALL" uv pip install --no-cache-dir $(echo "$PYTHON_INSTALL" | tr "," " ") fi