diff --git a/Dockerfile b/Dockerfile index 0cf50b9..4d3f62a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,13 +5,19 @@ ENV PYTHONUNBUFFERED=1 WORKDIR /app -# Debian/Ubuntu mirrors for apt -RUN rm -f /etc/apt/sources.list.d/debian.sources && \ - printf '%s\n' \ - 'deb [trusted=yes] https://mirror2.chabokan.net/debian bookworm main contrib non-free' \ - 'deb [trusted=yes] https://mirror2.chabokan.net/debian bookworm-updates main' \ - 'deb [trusted=yes] https://mirror2.chabokan.net/debian-security bookworm-security main' \ - > /etc/apt/sources.list +# Debian/debian mirrors for apt +RUN rm -f /etc/apt/sources.list /etc/apt/sources.list.d/* && \ +printf '%s\n' \ +'deb https://mirror-linux.runflare.com/debian/ bookworm main contrib non-free non-free-firmware' \ +'deb https://mirror-linux.runflare.com/debian/ bookworm-updates main contrib non-free non-free-firmware' \ +'deb https://mirror-linux.runflare.com/debian-security/ bookworm-security main contrib non-free non-free-firmware' \ +'' \ +'deb [trusted=yes] https://mirror2.chabokan.net/debian bookworm main contrib non-free non-free-firmware' \ +'deb [trusted=yes] https://mirror2.chabokan.net/debian-security bookworm-security main contrib non-free non-free-firmware' \ +'' \ +'deb http://mirror.iranserver.com/debian/ bookworm main contrib non-free non-free-firmware' \ +'deb-src http://mirror.iranserver.com/debian/ bookworm main contrib non-free non-free-firmware' \ +> /etc/apt/sources.list # System deps for MySQL client (pkg-config required by mysqlclient to find libs) RUN apt-get update && apt-get install -y --no-install-recommends \