From 96793dc19004e9a87308e7b8d60a9258024fc71e Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Fri, 16 May 2025 10:53:30 +0800 Subject: [PATCH] update dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b484643..5c8e2ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -84,10 +84,12 @@ FROM ubuntu:20.04 # 设置非交互式安装 ENV DEBIAN_FRONTEND=noninteractive # 安装运行时必要依赖 -RUN apt-get update && apt-get install -y libstdc++6 +RUN apt-get update && apt-get install -y g++ make cmake RUN apt-get install -y --no-install-recommends libfftw3-dev libnetcdf-dev gmt libgmt-dev libgsl-dev libncurses-dev RUN apt-get install -y --no-install-recommends libopenblas-dev libeigen3-dev RUN apt-get install -y gnuplot +RUN apt-get install -y pkg-config +RUN apt-get install -y autoconf automake # 从构建阶段复制编译后的库和头文件 COPY --from=builder /usr/local/lib /usr/local/lib COPY --from=builder /usr/local/include /usr/local/include