Quellcode durchsuchen

Install apt dependencies using bookworm source, consistent with base image. Remove unnecessary, error-prone pins (#13176)

TechnoHouse vor 2 Monaten
Ursprung
Commit
e9e34c1ab2
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      api/Dockerfile

+ 2 - 2
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