From d7df4033c04ca8d7e399a437e44557de8e0dd67a Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Sun, 28 Sep 2025 12:43:21 +0200 Subject: [PATCH] chore: switch python base image to try arm builds --- Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f16a5b..d8c0e54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,15 @@ FROM python:3.13-slim ENV PYTHONDONTWRITEBYTECODE=1 \ - PYTHONUNBUFFERED=1 + PYTHONUNBUFFERED=1 \ + PIP_DISABLE_PIP_VERSION_CHECK=1 + +# Install minimal OS dependencies (include zlib for arm/v7 builds) +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + zlib1g ca-certificates \ + && rm -rf /var/lib/apt/lists/* -# Install system deps (optional: to build some wheels faster). Kept minimal here. WORKDIR /app # Copy dependency list and install first (leverages Docker layer cache)