Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once inside the <openifs-docker-build-dir>  clone or branch from the git repository with download the OpenIFS release package, e.g.

Code Block
languagebash
themeMidnight
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
languagebash
themeMidnight
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
  • Please note that currently access to this repository is restricted to a limited number of users only.
  • It is important that the OpenIFS package in the docker build directory is a fresh clone/branch, i.e., not built on your local system.

    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

    ...