Browse Source

fix: update Dockerfile to install fonts without no-install-recommends option

myhloli 4 months ago
parent
commit
707ef452f5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docker/china/Dockerfile
  2. 1 1
      docker/global/Dockerfile

+ 1 - 1
docker/china/Dockerfile

@@ -3,7 +3,7 @@ FROM lmsysorg/sglang:v0.4.8.post1-cu126
 
 # Install libgl for opencv support & Noto fonts for Chinese characters
 RUN apt-get update && \
-    apt-get install -y --no-install-recommends \
+    apt-get install -y \
         fonts-noto-core \
         fonts-noto-cjk \
         fontconfig \

+ 1 - 1
docker/global/Dockerfile

@@ -3,7 +3,7 @@ FROM lmsysorg/sglang:v0.4.8.post1-cu126
 
 # Install libgl for opencv support & Noto fonts for Chinese characters
 RUN apt-get update && \
-    apt-get install -y --no-install-recommends \
+    apt-get install -y \
         fonts-noto-core \
         fonts-noto-cjk \
         fontconfig \