update dockerfile

This commit is contained in:
张壹 2025-05-16 10:53:30 +08:00
parent bfa8429b54
commit 96793dc190

View File

@ -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