Build grpc4bmi from gRPC conda packages.
Build an image locally with:
docker build --tag grpc4bmi .
The image is built on the csdms/bmi image,
which in turn is built on the condaforge/miniforge3 base image.
The OS is Linux/Ubuntu.
conda
, grpc4bmi, and the BMI language mappings are installed in CONDA_DIR=/opt/conda
.
The base environment is activated.
Run a container from this image interactively:
docker run -it grpc4bmi
This starts a bash shell in the container.
A versioned, multiplatform image built from this repository is hosted on Docker Hub at csdms/grpc4bmi. This image is automatically built and pushed to Docker Hub with the release CI workflow. The workflow is only run when the repository is tagged. To manually build and push an update, run:
docker buildx build --platform linux/amd64,linux/arm64 -t csdms/grpc4bmi:latest --push .
A user can pull this image from Docker Hub with:
docker pull csdms/grpc4bmi
optionally with the latest
tag or with a version tag.
This work is supported by the U.S. National Science Foundation under Award No. 2103878, Frameworks: Collaborative Research: Integrative Cyberinfrastructure for Next-Generation Modeling Science.