Dockerfile 452 Bytes
Newer Older
Zhang Xin's avatar
Zhang Xin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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