diff --git a/Dockerfile.armv7l b/Dockerfile.armv7l
index 8d20442..fe96359 100644
--- a/Dockerfile.armv7l
+++ b/Dockerfile.armv7l
@@ -15,7 +15,7 @@ RUN curl -LsSf https://astral.sh/uv/0.5.1/install.sh | setarch armv7l sh
 ENV PATH="$PATH:/root/.local/bin"
 
 # Install Python using uv if we can not use the one installed in the system.
-RUN if ! uv python find "$PYTHON_VERSION" >/dev/null 2>&1; then \
+RUN if [ "$PYTHON_VERSION" != "3.7" ]; then \
         uv python install "$PYTHON_VERSION"; \
         apt-get update && \
             apt-get install --no-install-recommends -y \