10 lines
351 B
Docker
10 lines
351 B
Docker
#FROM --platform=linux/arm64 debian:stable
|
|
FROM --platform=linux/amd64 debian:stable
|
|
|
|
RUN apt-get update -y \
|
|
&& apt-get install -y build-essential cmake gfortran liblapack-dev libblas-dev libboost-dev libnetcdf-dev libpnetcdf-dev libmpich-dev wget vim \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV CFLAGS="-mcpu=native -O3"
|
|
ENV CXXFLAGS="-mcpu=native -O3"
|