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