dtcenter/met
Model Evaluation Tools for Numerical Weather Prediction Forecast Verification
10K+
GitHub actions are triggered for Pull Requests to the "develop" and "main_v*" branches and for pushes to the branches "feature_", "bugfix_", "develop", "develop-ref", and "main_v*" created in this repository to automatically build images from these Dockerfiles and push them to DockerHub repositories. The MET Docker image is used in Dockerfiles in the METplus wrappers component repository for testing.
Descriptions of the Dockerfiles in this directory are provided below. Sample commands for building these Docker images locally are also provided. Please note that these commands should be run from the top-level directory of the MET repository.
Dockerfile
, which checks out MET from GitHub,
compiles the specified branch or tag from source, sets a working directory,
downloads and installs GhostScript fonts, and deletes the MET source code for
tagged releases matching "v"*. Tagged versions of the MET Docker image are
available in the
dtcenter/met
DockerHub repository.docker build -t dtcenter/met:${TAG_NAME} --build-arg SOURCE_BRANCH=${BRANCH_NAME} internal/scripts/docker
docker push dtcenter/met:${TAG_NAME}
where:
${TAG_NAME}
is the name of the DockerHub tag to create${BRANCH_NAME}
is the MET branch to checkoutDockerfile.copy
, which compiles
MET using the specified branch or tag from local source code, sets a working
directory, downloads and installs GhostScript fonts, and deletes the MET
source code for tagged releases matching "v"*.docker build -t dtcenter/met:${TAG_NAME} --build-arg SOURCE_BRANCH=${BRANCH_NAME} -f internal/scripts/docker/Dockerfile.copy .
docker push dtcenter/met:${TAG_NAME}
where:
${TAG_NAME}
is the name of the DockerHub tag to create${BRANCH_NAME}
is the identifier to use for $MET_GIT_NAME inside imageDockerfile.copy
, which is
described above.docker build -t dtcenter/met:${TAG_NAME} --build-arg SOURCE_BRANCH=${BRANCH_NAME} --build-arg MET_BASE_TAG=${MET_BASE_TAG} -f internal/scripts/docker/Dockerfile.copy .
docker push dtcenter/met:${TAG_NAME}
where:
${TAG_NAME}
is the name of the DockerHub tag to create${BRANCH_NAME}
is the identifier to use for $MET_GIT_NAME inside image${MET_BASE_TAG}
is the version of dtcenter/met-base-unit-test to be useddocker pull dtcenter/met