-
Notifications
You must be signed in to change notification settings - Fork 21
/
Dockerfile
22 lines (17 loc) · 745 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
FROM davegill/wrf-coop:fourteenthtry
MAINTAINER Dave Gill <[email protected]>
RUN git clone https://github.com/wrf-model/WRF.git WRF \
&& cd WRF \
&& git checkout release-v4.3.1 \
&& cd ..
RUN git clone https://github.com/davegill/SCRIPTS.git SCRIPTS \
&& cp SCRIPTS/rd_l2_norm.py . && chmod 755 rd_l2_norm.py \
&& cp SCRIPTS/script.csh . && chmod 755 script.csh \
&& ln -sf SCRIPTS/Namelists .
RUN git clone https://github.com/davegill/wrf_feature_testing.git wrf_feature_testing \
&& cd wrf_feature_testing && mv * .. && cd ..
ARG argname=no_feature_tests
RUN if [ "$argname" = "feature_tests" ] ; then curl -SL https://www2.mmm.ucar.edu/wrf/dave/feature_data.tar.gz | tar -xzC /wrf ; fi
VOLUME /wrf
CMD ["/bin/tcsh"]