FROM --platform=linux/amd64 ubuntu:20.04 LABEL maintainer="zhangx@bao.ac.cn" RUN apt-get update RUN apt-get install gcc -y RUN apt-get install make -y RUN apt install gfortran -y RUN apt install vim -y RUN gfortran --version COPY . /LePhare/ WORKDIR /LePhare/lephare_dev/source/ RUN pwd RUN make clean RUN make WORKDIR /LePhare RUN mkdir tmpData RUN export LEPHAREDIR=/LePhare/lephare_dev/ RUN export LEPHAREWORK=/LePhare/tmpData/ EXPOSE 8000