@@ -6,10 +6,10 @@ MAINTAINER Michael Kavulich <kavulich@ucar.edu>
6
6
RUN apt-get -y update
7
7
8
8
# Get "essential" tools and libraries
9
- RUN apt-get -y install build-essential
10
- RUN apt-get -y install cmake curl git file gfortran-12 ksh m4 python3 tcsh time wget vim
11
- RUN apt-get -y install libnetcdf-pnetcdf-19 libnetcdff7 libnetcdf-dev libnetcdff-dev libxml2
12
- RUN apt-get -y install python3-pip python3.11-venv
9
+ RUN apt-get -y install build-essential \
10
+ && apt-get -y install cmake curl git file gfortran-12 ksh m4 python3 tcsh time wget vim \
11
+ && apt-get -y install libnetcdf-pnetcdf-19 libnetcdff7 libnetcdf-dev libnetcdff-dev libxml2 \
12
+ && apt-get -y install python3-pip python3.11-venv
13
13
14
14
MAINTAINER Grant Firl <grantf@ucar.edu> or Michael Kavulich <kavulich@ucar.edu>
15
15
@@ -69,24 +69,17 @@ RUN cd $NCEPLIBS_DIR/src \
69
69
&& make VERBOSE=1 \
70
70
&& make install
71
71
72
- # Obtain CCPP SCM source code
73
- RUN cd /comsoftware \
74
- && git clone --recursive -b main https://github.com/NCAR/ccpp-scm
75
-
76
- # Obtain static data that was previously stored in repository
77
- RUN cd /comsoftware/ccpp-scm/ \
78
- && ./contrib/get_all_static_data.sh
79
-
80
- # Obtain the pre-computed look-up tables for running with Thompson microphysics
81
- RUN cd /comsoftware/ccpp-scm/ \
82
- && ./contrib/get_thompson_tables.sh
83
-
84
72
ENV bacio_ROOT /comsoftware/nceplibs
85
73
ENV sp_ROOT /comsoftware/nceplibs
86
74
ENV w3emc_ROOT /comsoftware/nceplibs
87
75
88
- # Invoke cmake on the source code to build
89
- RUN cd /comsoftware/ccpp-scm/scm \
76
+ # Obtain CCPP SCM source code and static data, build code
77
+ RUN cd /comsoftware \
78
+ && git clone --recursive -b main https://github.com/NCAR/ccpp-scm \
79
+ && cd /comsoftware/ccpp-scm/ \
80
+ && ./contrib/get_all_static_data.sh \
81
+ && ./contrib/get_thompson_tables.sh \
82
+ && cd /comsoftware/ccpp-scm/scm \
90
83
&& mkdir bin \
91
84
&& cd bin \
92
85
&& cmake ../src \
0 commit comments