From e9e34c1ab24154dd666156d0231d800ecbe3bdfd Mon Sep 17 00:00:00 2001 From: TechnoHouse <13776377+deephbz@users.noreply.github.com> Date: Wed, 5 Feb 2025 10:07:22 +0800 Subject: [PATCH] Install apt dependencies using bookworm source, consistent with base image. Remove unnecessary, error-prone pins (#13176) --- api/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/Dockerfile b/api/Dockerfile index 85a7349c9b8c3e..bcd2b3fd3b9404 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -52,10 +52,10 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends curl nodejs libgmp-dev libmpfr-dev libmpc-dev \ # if you located in China, you can use aliyun mirror to speed up # && echo "deb http://mirrors.aliyun.com/debian testing main" > /etc/apt/sources.list \ - && echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list \ + && echo "deb http://deb.debian.org/debian bookworm main" > /etc/apt/sources.list \ && apt-get update \ # For Security - && apt-get install -y --no-install-recommends expat=2.6.4-1 libldap2=2.6.9+dfsg-1 perl=5.40.0-8 libsqlite3-0=3.46.1-1 zlib1g=1:1.3.dfsg+really1.3.1-1+b1 \ + && apt-get install -y --no-install-recommends expat libldap-2.5-0 perl libsqlite3-0 zlib1g \ # install a chinese font to support the use of tools like matplotlib && apt-get install -y fonts-noto-cjk \ # install libmagic to support the use of python-magic guess MIMETYPE