Skip to content

csdms/grpc4bmi-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

grpc4bmi-docker

Build grpc4bmi from gRPC conda packages.

Build the image

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

Run a container from this image interactively:

docker run -it grpc4bmi

This starts a bash shell in the container.

Developer notes

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.

Acknowledgment

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.

About

A Docker base image for the grpc4bmi C++ environment, built on miniforge with gRPC conda packages

Topics

Resources

License

Stars

Watchers

Forks