update dockerfile
This commit is contained in:
parent
bfa8429b54
commit
96793dc190
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user