From 2bded24c3a0a82b60423e99b5f4bfe6b34174a64 Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 16 May 2025 18:00:12 +0800 Subject: [PATCH] fix(devcontainer): uv sync fail The `gmpy2` sync failed due to missing required libraries: libgmp-dev, libmpfr-dev, and libmpc-dev. --- .devcontainer/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e7a8c98d26..44c1ddf739 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,5 +1,4 @@ FROM mcr.microsoft.com/devcontainers/python:3.12 -# [Optional] Uncomment this section to install additional OS packages. -# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ -# && apt-get -y install --no-install-recommends +RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ + && apt-get -y install libgmp-dev libmpfr-dev libmpc-dev