This commit is contained in:
2026-03-20 16:21:08 +03:30
parent 2e25748c49
commit 452dc9dbdf
+13 -7
View File
@@ -5,13 +5,19 @@ ENV PYTHONUNBUFFERED=1
WORKDIR /app WORKDIR /app
# Debian/Ubuntu mirrors for apt # Debian/debian mirrors for apt
RUN rm -f /etc/apt/sources.list.d/debian.sources && \ RUN rm -f /etc/apt/sources.list /etc/apt/sources.list.d/* && \
printf '%s\n' \ printf '%s\n' \
'deb [trusted=yes] https://mirror2.chabokan.net/debian bookworm main contrib non-free' \ 'deb https://mirror-linux.runflare.com/debian/ bookworm main contrib non-free non-free-firmware' \
'deb [trusted=yes] https://mirror2.chabokan.net/debian bookworm-updates main' \ 'deb https://mirror-linux.runflare.com/debian/ bookworm-updates main contrib non-free non-free-firmware' \
'deb [trusted=yes] https://mirror2.chabokan.net/debian-security bookworm-security main' \ 'deb https://mirror-linux.runflare.com/debian-security/ bookworm-security main contrib non-free non-free-firmware' \
> /etc/apt/sources.list '' \
'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) # System deps for MySQL client (pkg-config required by mysqlclient to find libs)
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \