From 7bcdba505da7e4961aa8f92ac1bdfced973dc690 Mon Sep 17 00:00:00 2001 From: GitHubPod Date: Sat, 27 Sep 2025 22:10:13 -0400 Subject: [PATCH 1/2] Remove fonts-kacst from apt install command in Dockerfile Remove the fonts-kacst package from the apt install command to fix potential compatibility issues. The removed package is not essential for MetaGPT functionality and other font packages remain available. --- Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3a2de4981c..443580336e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,25 +1,20 @@ # Use a base image with Python3.9 and Nodejs20 slim version FROM nikolaik/python-nodejs:python3.9-nodejs20-slim - # Install Debian software needed by MetaGPT and clean up in one RUN command to reduce image size RUN apt update &&\ - apt install -y libgomp1 git chromium fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 --no-install-recommends file &&\ + apt install -y libgomp1 git chromium fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-freefont-ttf libxss1 --no-install-recommends file &&\ apt clean && rm -rf /var/lib/apt/lists/* - # Install Mermaid CLI globally ENV CHROME_BIN="/usr/bin/chromium" \ puppeteer_config="/app/metagpt/config/puppeteer-config.json"\ PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true" RUN npm install -g @mermaid-js/mermaid-cli &&\ npm cache clean --force - # Install Python dependencies and install MetaGPT COPY . /app/metagpt WORKDIR /app/metagpt RUN mkdir workspace &&\ pip install --no-cache-dir -r requirements.txt &&\ pip install -e . - # Running with an infinite loop using the tail command CMD ["sh", "-c", "tail -f /dev/null"] - From f7ad33b9175a18a01b379a5760ff7258d5ac7000 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Sep 2025 02:17:44 +0000 Subject: [PATCH 2/2] Initial plan