...
Once inside the <openifs-docker-build-dir>
clone or branch from the git repository with download the OpenIFS release package, e.g.
Code Block | ||||
---|---|---|---|---|
| ||||
git clone --single-branch --branch release sshwget https://git@gitsites.ecmwf.int/oifs/openifs/openifs-data/src/48r1/openifs-48r1.1.git.tar.gz tar -xvzf openifs-48r1.tar.gz |
Further, if the SCM is required, then also download the SCM package to <openifs-docker-build-dir>
Code Block | ||||
---|---|---|---|---|
| ||||
wget https://sites.ecmwf.int/openifs/openifs-data/scm/48r1/scm_openifs_48r1.1.tar.gz
tar -xzvf scm_openifs_48r1.1.tar.gz | ||||
Note | ||||
Once OpenIFS 48r1 has been extracted to your your <openifs-docker-build-dir>
, then copy the Dockerfile
from the release to <openifs-docker-build-dir>
...
This cp
step is important because the Dockerfile
and the OpenIFS release and SCM package, i.e., openifs-48r1.1 and scm_openifs
, need to be in the same directory to build the container (see the openifs-48r1.1/scripts/docker/gcc-docker-48r1.1/Dockerfile)
Build the OpenIFS docker image
...